What are the required methods to implement EJB architecture?
Answers were Sorted based on User's Feedback
Answer / john
The methods that have to be present in an EJB are as follows
setSessionContext()
ejbCreate()
ejbPassivate()
ejbActivate()
ejbRemove()
The methods
ejbPassivate()
ejbActivate()
will be left empty in case of Stateless Session beans as
they do not support Passivation and Activation
Is This Answer Correct ? | 2 Yes | 0 No |
What are the types of ejb?
What is ejb and how it works?
Which is the only method defined in the javax.ejb.handle interface?
What is jar, war, and ear?
What is a Java Bean?
Name the attributes of javax.ejb.ejb.
What is the purpose of JNDI?
How does legacy object mapping work?
Is is possible for an ejb client to marshal an object of class java.lang.class to an ejb?
Define Context?
How is an entity bean created?
What is bean-managed persistence?