Life cycle methods in stateless Session Beans?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why should we use ejb?

699


How can enterprise javabeans be accessed from active server pages?

753


can we stop the execution of a method before completion?

2715


What is entity bean?

808


Why do we use @requestmapping?

712


Match the ejb functions given below with the functionality equivalent in sql?

729


What is EJB server?

750


What do you mean enterprise javabeans (ejb) container?

759


What is the use of @ejb annotation?

716


What causes statelessness?

659


Is functional programming stateless?

720


What is the difference between find and select methods in ejb?

724


Are entity beans allowed to create() methods?

791


Explain the concept of local interfaces?

699


What is mdb?

731