Using the EJB/8i Deployment Object Wizard

Use the EJB/8i Deployment Object Wizard to add CMP persistence to your entity bean. For more information on invoking the wizard, see Ways to Add Container Managed Persistence to an Entity Bean. For more information on persistence objects and default view objects, see About Container Managed Persistence.

To work through the wizard:

  1. If the Welcome page appears, click Next.
  2. In the Name page, specify the entity bean deployment descriptor, deployment object name, and business components package. Click Next.
  3. In the Data Source page, choose the table. Click Next.
  4. In the Attribute Settings page, specify the attribute settings. Click Next.
  5. In the Validation page, add validation logic for the fields of your EJB. Click Next.
  6. In the Properties page, add custom properties to your CMP persistence object. Click Next.
  7. Click Finish to create a persistence object and a default view object.

    The wizard adds the deployment object files to your project.