Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Difference between container-managed & bean-managed
persistence?

Answer Posted / janet

In container-managed persistence, entity bean data is
automatically maintained by the container using a mechanism
of its choosing. For example, a container implemented on top
of an RDBMS may manage persistence by storing each bean?s
data as a row in a table. Or, the container may use Java
programming language serialization for persistence. When a
bean chooses to have its persistence container managed, it
specifies which of its fields are to be retained.

In bean-managed persistence, the bean is entirely
responsible for storing and retrieving its instance data.
The EntityBean interface provides methods for the container
to notify an instance when it needs to store or retrieve its
data.

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Enlist the contents of Container.

1045


How can a CORBA object, accessed from a EJB?

2272


What do you mean enterprise javabeans (ejb) container?

1106


How can a session bean be configured for transactions of bean-managed?

1101


Why do we need ejb?

1021


What changes have been made in ejb 2.0 specifications?

1046


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

962


What is the procedure of ejb container to handle exceptions?

982


How to find ejb version in websphere?

964


Why do we use ejb?

992


What is difference between ejb 1.1 and ejb 2.0?

1001


What are the callback annotations for the stateless bean?

955


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

1007


What is ejb and how it works?

1124


What are the system services of ejb container?

1076