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 is persistence?
Can more than a single table be mapped in cmp?
Enlist the declarative transaction types?
what is SessionBean, EntityBean?
How ejb invocation happens?
What is the difference between ejbcreate() and ejbpostcreate?
How to import ejb project in eclipse?
What is ejb client?
What is use of @postconstruct?
What is mdb?
Enlist the CallBack methods of Entity Bean.
Does spring use ejb?