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 / john doe

In a CMP the task of mainitain the persitance is carried out
completely by the container. It is simpler for the developer
as the most of the tasks are handled by the contianer
itself. The developer does not have to worry about
connectivity or the JDBC

In a BMP the developer has to use database APIs to read or
write data into the DB. This gives him the flexibilty to
carry out the persistance operations which are too
complicated for the container to handle. He has to use EJB
QL (EJB Query Lanaguage) to interact with the database using BMP

Is This Answer Correct ?    11 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Match the ejb functions given below with the functionality equivalent in sql?

1019


What is stateless code?

1060


Is functional programming stateless?

1054


What is ejb role in j2ee?

1168


What is applicationscoped?

1036


How many ejb objects are created for a bean?

1028


How can one EJB be called from within another EJB?

1031


how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?

3026


What is stateful or stateless?

1023


Is udp stateless?

1055


How can a CORBA object, accessed from a EJB?

2340


Why do we use @requestmapping?

1040


Differentiate Conversational from Non-conversational interactions?

1093


What is ejb 3?

989


What are the advantages of java beam?

1167