Container-Managed Persistence
The term container-managed persistence means that the EJB container handles all database access required by the entity bean. The bean's code contains no database access (SQL) calls. As a result, the bean's code is not tied to a specific persistent storage mechanism (database). Because of this flexibility, even if you redeploy the same entity bean on different J2EE servers that use different databases, you won't need to modify or recompile the bean's code. In short, your entity beans are more portable.
Note: In EJB 1.1, CMP is limited to objects that map to a single database table (i.e. no dependent object, no table joins); this restriction is relaxed in EJB 2.0