Chapter 10. Development of XML-based Enterprise applications 241
Figure 10-18 Enterprise bean details
Creating the database mapping and tables
Now that the entity bean is ready, we need to create the database mapping:
1. Under the EJB modules category, select the
CustomerInfoEJB project, and
select
Generate —> EJB to RDB Mapping from the menu.
The mapping wizard opens Figure 10-19 on page 242. Because we have no
existing schema currently defined in our project, Bottom Up is disabled at this
time.
2. Select
Top Down.
3. Click
Next.