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 attributes of transaction in ejb?
What is mdb?
Explain transaction and various methods to manage it?
What is the purpose of ejb in java?
What is session bean in ejb?
What is the procedure of ejb container to handle exceptions?
What is the difference between ejb and spring?
What are the benefits of ejb?
How does ejbs work?
What do you mean by ‘hot deployment’ ?
What is entity beans in ejb with example?
Define ripple effect?
What is stateful session bean?
What is enterprise javabeans (ejb) container?
What are the types of ejb?