Which two statements are correct about EJB 3.0 stateful session beans and stateless session beans?

Which two statements are correct about EJB 3.0 stateful session beans and stateless session
beans? (Choose two.

Which two statements are correct about EJB 3.0 stateful session beans and stateless session
beans? (Choose two.

A.
Bothcan have multiple remote and local business interfaces.

B.
Both can be passivated by the EJB container to preserve resources.

C.
Both can choose to implement the javax. ejb.SessionSynchronization interface.

D.
Only the stateful session bean class is required to implement java.io.Serializable.

E.
Both beanclasses can have the field injection of javax. persistence. EntityManager.



Leave a Reply 0

Your email address will not be published. Required fields are marked *