Oracle
1Z0-860 · Question #141
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 be an 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 be an classes can have the field injection of javax. persistence. EntityManager.
How the community answered
(47 responses)- A83% (39)
- B4% (2)
- C2% (1)
- D11% (5)
Community Discussion
No community discussion yet for this question.