ejb-jar.xml Visual Editor: CMP Fields

See Also 

The ejb-jar.xml visual editor lets you edit the general for an EJB module. You open the editor by expanding the project's Configuration Files node in the Projects window and double-clicking the ejb-jar node . The Enterprise Beans section of the General view contains a section for each of your EJB module's enterprise beans.

Each entity bean that uses container-managed persistence (CMP) has a CMP Fields section in which you can define the fields in the entity bean that you want to persist. The sun-cmp-mappings.xml file maps these fields to columns in the database.

You can add, remove, and edit CMP fields in the CMP Fields section. For each CMP field, specify the following:

CMP entity beans also have the following sections in the ejb-jar.xml editor:

See Also
About Configuring EJB Modules
Verifying an Enterprise Application
ejb-jar.xml Visual Editor:
         Module Details
         Entity Bean
         Session Bean
         Message-Driven Beans
         Security Roles
         CMP Relationships

Legal Notices