Oracle
1Z0-860 · Question #224
Which two statements are correct about EJB 3.0 stateful session beans and stateless session beans? (Choose two.)
The correct answer is A. Both can have multiple remote and local business interfaces. E. Both bean classes can have the field injection of javax. persistence. EntityManager. See the full explanation below for the reasoning.
Question
Which two statements are correct about EJB 3.0 stateful session beans and stateless session beans? (Choose two.)
Options
- ABoth can have multiple remote and local business interfaces.
- BBoth can be passivated by the EJB container to preserve resources.
- CBoth can choose to implement the javax.ejb.SessionSynchronization interface.
- DOnly the stateful session bean class is required to implement java.io.Serializable.
- EBoth bean classes can have the field injection of javax. persistence. EntityManager.
How the community answered
(63 responses)- A71% (45)
- B5% (3)
- C14% (9)
- D10% (6)
Community Discussion
No community discussion yet for this question.