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 |
ejbCreate in Entity bean and create method in EJB home, have the same parameters?
Differentiate Conversational from Non-conversational interactions?
Differentiate Phantom from Un-repeatable?
Write down the steps for the creation of stateless ejb.
What is ejb 3?
In what way, the client gets a reference to an existing entity bean?
Differentiate “find a method” from “select method” in EJB ?
What is applicationscoped?
Difference between javaBeans and Enterprise JavaBeans?
1 Answers Indotech, Tech Mahindra,
java doesnot support multiple inhetance. but a interface can support.how the ambiguities are rectified in interfaces?
Life Cyle methods in Entity Bean with Container Managed persistence
What are the various types of entity beam?