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 is an entity and its types?
What are the components of ejb?
What is stateless session?
What is enterprise bean?
What is stateless session bean?
How does ejb container work?
What is the difference between find and select methods in ejb?
What is ejb context?
What is the difference between Session bean and Entity bean?one?
What is a ejb container?
What is stateless programming?
What is ejb and its uses?
What is the use of @ejb annotation?
What are the components of session beam?
What do you understand by session facade?