Life cycle methods in stateless Session Beans?
Answer Posted / krishna
Methods are:
0) Class.newInstance()
1) ejbCreate()
2) setSessionContext()
3) ejbCreate()
Does Not Exist state & Method-Ready Pool are two status of the Beans
as per my knowledge Stateless Session Beans will not contain ejbActivate()& ejbPassivate() methods
| 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 does ejb stand for?
What is the difference between ejbcreate() and ejbpostcreate?
What is an entity manager?
What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations? When would I use one over the other?
What causes statelessness?
What is ejb and why it is used?
What is @resource in java?
What is the procedure of ejb container to handle exceptions?
How is ejb different from java beans?
What is ejb in java?
What were entity beans?
What is remote interface in ejb?
Explain the architectural relationship between JavaBeans and JTA?
A client wants to preserve the reference to the ejbhome object of an enterprise bean instance and use it later. Which of the following can be serialized for this purpose?