Life cycle methods in stateless Session Beans?

Answers were Sorted based on User's Feedback



Life cycle methods in stateless Session Beans?..

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

Life cycle methods in stateless Session Beans?..

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

Life cycle methods in stateless Session Beans?..

Answer / janet

ejbCreate()
setSessionContext()
ejbActivate -- never called
ejbPassivate()
ejbRemove()

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More EJB Interview Questions

Is it legal to have static initializer blocks in ejb?

0 Answers  


What are transaction isolation levels in ejb?

0 Answers  


What do you mean by ejb ql?

0 Answers  


What is a Java Bean?

2 Answers  


How is an entity bean created?

1 Answers  






Is is possible for an ejb client to marshal an object of class java.lang.class to an ejb?

0 Answers  


How bean-managed transactions will work?

1 Answers   Wipro,


The ejb container implements the ejbhome and ejbobject classes. For every request from a unique client, does the container create a separate instance of the generated ejbhome and ejbobject classes?

0 Answers  


Is state maintained by a Stateless bean?

0 Answers  


What do you mean by bean managed transaction?

0 Answers  


What is bean-managed transaction?

0 Answers  


what is ejb

3 Answers   Tech Mahindra,


Categories