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
What are the benefits of ejb?
What do you mean by ejb?
What is software architecture of ejb?
How does ejb container work?
What is ejb and its architecture?
What is ejb home object?
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?
Is udp stateless?
Is having static initializer blocks legal in ejb?
Is it legal to have static initializer blocks in ejb?
What is rmi and ejb in java?
How ejb invocation happens?
Which is the only method defined in the javax.ejb.handle interface?
What are stateless functions?
what is mean by OLE ? Please answer me. Advance thanks.