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:
- If the Welcome page appears, click Next.
- In the Name page, specify the entity bean
deployment descriptor, deployment object name, and business components package.
Click Next.
- In the Data Source page,
choose the table. Click Next.
- In the Attribute Settings
page, specify the attribute settings. Click Next.
- In the Validation page, add validation logic
for the fields of your EJB. Click Next.
- In the Properties page, add custom properties
to your CMP persistence object. Click Next.
- Click Finish to create a persistence object and a
default view object.
The wizard adds the deployment object
files to your project.