Java EE 习题 1# Java - 爪哇娇娃
s*8
1 楼
import javax.ejb.*;
import javax.annotation.*;
import javax.persistence.*;
______________
public class HelloBean {
public void hello() {
...
}
}
Which of the following annotations can be added to the blank to make
HelloBean a valid EJB bean class (there may be more than one correct answers
)?
A, @Stateless
B, @Stateful
C, @Singleton
D, @EJB
E, @Entity
F, @ManagedBean
G, All of the above
H, None of the above
import javax.annotation.*;
import javax.persistence.*;
______________
public class HelloBean {
public void hello() {
...
}
}
Which of the following annotations can be added to the blank to make
HelloBean a valid EJB bean class (there may be more than one correct answers
)?
A, @Stateless
B, @Stateful
C, @Singleton
D, @EJB
E, @Entity
F, @ManagedBean
G, All of the above
H, None of the above