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

What is ejb and why it is used?

507


Define SessionContext ?

601


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

530


Name the attributes of javax.ejb.stateful.

562


Why is ejb needed?

512






Name the acid properties of a transaction.

550


Enlist the contents of Container.

587


Define ejb Create() and EjbPostCreate()?

577


What is stateless authentication?

526


Who took over ejb?

602


How can enterprise javabeans be accessed from active server pages?

573


How to increase ejb transaction timeout in weblogic?

555


What is entity beans in ejb with example?

512


For ejb applications with bean-managed transaction demarcations, which of the following is used by the client to get a reference to the usertransaction object for the weblogic server domain?

550


What is ejb framework?

565