The CMP Resource property editor enables you to specify the database to be used for storing container-managed persistence (CMP) beans in an EJB module. The properties you set depend on the database you are using. You open the CMP Resource property editor by selecting the CMP Resource property and its ellipsis (...) button from the Sun ONE AS pane of an EJB Module property sheet.
This property must always be set. It specifies the jndi-name of the registered persistence manager that the EJB module will use (such as jdo/PointbasePM). Before the EJB module is deployed, the persistence manager must be registered with the Sun ONE Application Server.
If the persistence manager requires a user name and password, you must set the following properties:
The name of a user authorized to access the resource (if required).
The password of the authorized user (if required).
See also | |
EJB Module Property Sheet: Sun ONE AS Tab |