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



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

Answer / 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

More EJB Interview Questions

What is JAR file?

4 Answers  


What are different Methods and Classes written in a Session Bean

1 Answers   DELL,


Is is possible for an ejb client to marshal an object of class java.lang.class to an ejb?

0 Answers  


What is the difference between Session bean and Entity bean?one?

0 Answers  


What are ejbs used for?

0 Answers  


What do you mean by timer service and where it is used?

0 Answers  


can we have static initializer blocks in EJB?

1 Answers   Reliance,


Are entity beans allowed to create() methods?

0 Answers  


An EJB client, can marshall an object of the class java.lang.Class to an EJB?

2 Answers  


How can a CORBA object, accessed from a EJB?

0 Answers  


Why is ejb needed?

0 Answers  


What is @resource in java?

0 Answers  


Categories