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 do you mean by bean managed transaction?
Define ripple effect?
What is difference between ejb 1.1 and ejb 2.0?
What is the perpose of EJBs?
What are the benefits of ejb?
what is an ejb object?
5 Answers Bally Technologies, HCL, Siemens,
Can we write the Remote and Local Interfaces in one Bean. How do you define it in the deployment descriptor.
Explain what is an EJB Context?
Is soap stateless or stateful?
Difference between container-managed & bean-managed persistence?
what is finder method?
How entity beans support container managed persistence?