ejb-jar.xml Visual Editor: CMP Finder Methods

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 Finder Methods section. Finder methods are query methods that allow clients to locate entity beans. In CMP entity beans, you only have to specify basic information and the EJB QL query in the deployment descriptor.

You can add, remove, and edit finder methods in the CMP Finder Methods section. For each finder method, specify the following:

When you add a finder method to a bean, the IDE enters the information in the deployment descriptor and adds the finder method to the local and/or remote home interface. The container implements the finder method from the interface and the deployment descriptor, so the interface is the only place the method appears.

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