What are the required methods to implement EJB architecture?
Answer Posted / 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 |
Post New Answer View All Answers
How can one EJB be called from within another EJB?
What are the key features of the ejb technology?
What do you mean by re-entrant? Can you say that session beans as re-entrant? Can entity beans be specified as re-entrant?
What is an ejb platform?
What are the design principles for ejb?
How is consistency maintained by Stateful Session through transaction updates ?
What is mdb in ejb?
Define Initial Context?
What do you understand by annotation in ejb to do the database entity relationships/mappings with examples?
What does @inject mean in java?
What is ejb container in java?
What is enterprise javabeans (ejb) container?
What are the different kind of ejb's?
Name the acid properties of a transaction.
What ejb means?