Life Cyle methods in Entity Bean with Container Managed
persistence

Answer Posted / janet

ejbCreate()
ejbPostCreate()
setEntityContext()
ejbActivate()
ejbPassivate()
ejbLoad()
ejbStore()
ejbRemove()
ejbFindPrimaryKey()

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is @enableautoconfiguration?

523


Mention the three levels for applying interceptor methods.

530


Explain ejbhome and ejbobject in ejb?

577


Is it possible to have threading in ejb?

544


How ejb invocation happens?

564






Is ejb be called from another ejb? If yes then how?

516


What is the procedure of ejb container to handle exceptions?

538


Where is ejb used?

513


What happens when I change a value in the httpsession from inside an ejb?

517


What is ejb javatpoint?

563


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?

552


What causes statelessness?

472


What is ejb framework?

555


What optimization could I use if the ejb container is the only point of write access to the database?

560


What is the difference between ejbcreate() and ejbpostcreate?

528