Chapter 4 gave step-by-step instructions for creating and packaging a session bean. To build an entity bean, you follow the same procedures, but with the following exceptions.
In the New Enterprise Bean wizard, specify the bean’s type and persistent management.
In the Resource Refs tab, specify the resource factories referenced by the bean. These settings enable the bean to connect to the database. For instructions, see the section deploytool Tips for Resource References (page 354).
Before you deploy the bean, verify ...