Life cycle methods in stateless Session Beans?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sulthan sheriff
The stateless session bean's life cycle has two states: the
1-------->Does Not Exist state
2-------->Method-Ready Pool.
This is the Stateless session bean Life cycle
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / janet
ejbCreate()
setSessionContext()
ejbActivate -- never called
ejbPassivate()
ejbRemove()
| Is This Answer Correct ? | 1 Yes | 1 No |
What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?
What do you understand by session facade?
What causes statelessness?
Mention the three levels for applying interceptor methods.
What is the TX operational difference between Session Bean and Entity Bean?
What do you mean by re-entrant? Can you say that session beans as re-entrant? Can entity beans be specified as re-entrant?
How Stateful Session bean will store its State ?
What is ejb container in java?
What is remote interface in ejb?
What are the advantages of ejb?
what are main features in EJB?
What is an entity manager?