Tell me difference between Container managed persistent
bean & Bean managed persistent bean?

Answer Posted / janet

In Bean Managed Persistence, the bean is entirely
responsible for storing and retriving it's instance data.
The Entity bean interface provides methods for the container
to notify an instance when it needs to store or retrive its
data.
In container manaed persistence,entity bean data is
automatically maintained by the container using a mechanism
of it's choosing.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Enlist the CallBack methods of Session Bean?

755


What is stateless code?

696


What is ejb in weblogic?

752


What is @enableautoconfiguration?

755


Should services be stateless?

667


What is the difference between message driven beans and stateless session beans?

724


What do you understand by annotation in ejb to do the database entity relationships/mappings with examples?

784


What is ejb client?

753


Why is ejb used?

705


What’s new in the ejb 2.0 specification?

743


What is stateless authentication?

743


How to generate ejb stubs in eclipse?

938


What is ejb bean in java?

803


What is message-driven bean?

776


What is an ejb container?

715