Quantcast
Channel: Enterprise JavaBeans (EJB)
Viewing all articles
Browse latest Browse all 15

What is the difference between Container-Managed Persistent (CMP) bean and Bean-Managed Persistent(BMP) ?

$
0
0

Container-managed persistence beans are the simplest for the bean developer to create and the most difficult for the EJB server to support. This is because all the logic for synchronizing the bean’s state with the database is handled automatically by the container. This means that the bean developer doesn’t need to write any data access logic, while the EJB server is supposed to take care of all the persistence needs automatically. With CMP, the container manages the persistence of the entity bean.

read more


Viewing all articles
Browse latest Browse all 15

Trending Articles