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
Match the ejb functions given below with the functionality equivalent in sql?
What is stateless code?
Is functional programming stateless?
What is ejb role in j2ee?
What is applicationscoped?
How many ejb objects are created for a bean?
How can one EJB be called from within another EJB?
how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?
What is stateful or stateless?
Is udp stateless?
How can a CORBA object, accessed from a EJB?
Why do we use @requestmapping?
Differentiate Conversational from Non-conversational interactions?
What is ejb 3?
What are the advantages of java beam?