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
What is the difference between ejb and java beans?
How is consistency maintained by Stateful Session through transaction updates ?
Define Context?
What is the difference between @requestparam and @pathvariable?
What is a ejb container?
What are the types of enterprise bean?
What are the components of session beam?
Which of the recommended practices to be performed in the ejbpassivate() method of a stateful session bean?
What do you mean by ejb?
What are the advantages of ejb components?
Why is ftp stateful?
What is an ejb platform?
What are the benefits of ejb?
Enlist the enterprise beans types?
What is ejb and why it is used?