Life cycle methods in stateful session beans?



Life cycle methods in stateful session beans?..

Answer / janet

ejbCreate()
setSessionContext()
ejbActivate()
ejbPassivate()
ejbRemove()
afterBegin()
beforeCompletion()
afterCompletion(boolean commit)

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More EJB Interview Questions

How can I call one EJB from inside of another EJB?

2 Answers   CTS,


Is soap stateless or stateful?

0 Answers  


What does @singleton annotation do?

0 Answers  


Should services be stateless?

0 Answers  


List down the steps for the demonstration of ejp persistence mechanism.

0 Answers  






Which services are provided to ejb components by the ejb container?

0 Answers  


What is ejb home object?

0 Answers  


An instance of stateful session ejb when accessed simultaneously from more than one clients on same vm results in remoteexception or ejbexception. In case the client is a servlet thread, which of the techniques can be used to avoid remoteexception/ejbexception?

0 Answers  


What is ejb in java with example?

0 Answers  


EJB containers supports what kind of transaction attributes?

1 Answers  


What are the design goals of EJB architecture?

1 Answers  


What’s the difference between hibernate and ejb 3?

0 Answers  


Categories