Card 15 / 59: What is true about the roles of EJBHome, EJBObject interfaces and a session bean?
A)
The EJBHome class is the starting point in a Session bean life cycle, it is used by clients to create instances of the session bean class and the EJBObject class
B)
The EJBObject class is the facade to the business logic in a session bean, clients invoke methods in a session bean indirectly through EJBObjects
C)
ejbActivate(), ejbPassivate() and ejbRemove() are methods which must be found in EJBObject interface to provide activation, passivation and removal services
Answer:
A) The EJBHome class is the starting point in a Session bean life cycle, it is used by clients to create instances of the session bean class and the EJBObject class
B) The EJBObject class is the facade to the business logic in a session bean, clients invoke methods in a session bean indirectly through EJBObjects
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|