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

How many ejb objects are created for a bean?

517


what is mean by OLE ? Please answer me. Advance thanks.

2143


Why do we need ejb?

551


What is ejb role in j2ee?

552


How many enterprise beans?

526






What do you mean by re-entrant? Can you say that session beans as re-entrant? Can entity beans be specified as re-entrant?

519


can anyone explain me the workflow of EJB.I have developed an app. in WSAD using an example that contains CMP and session bean.But i am not able to understand the basic flow between diffrent packages.

1763


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

698


Where is ejb used?

500


What are the advantages of ejb?

526


Enlist the contents of Container.

561


What is Enterprise JavaBeans Query Language (EJB QL)?

522


Can an ejb send asynchronous notifications to its clients?

511


What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?

543


Can you be deported if you are stateless?

459