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

What is ejb 3?

0 Answers  


Basic types of Enterprise JavaBeans?

4 Answers   TCS,


What are the services that a container provides for an entity bean?

3 Answers  


How do you decide whether you should use session, entity or message driven bean?

0 Answers  


What is ejb and its properties?

0 Answers  






What is applicationscoped?

0 Answers  


How to create ejb project in eclipse?

0 Answers  


Define Initial Context?

0 Answers  


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  


How entity beans support container managed persistence?

0 Answers  


what is mean by com/Dcom ? Please answer me. Advance thanks.

1 Answers   Excel,


Enlist the enterprise beans types?

0 Answers  


Categories