You can create enterprise beans in one of the following ways:
There are two wizards to help you to create enterprise beans. One wizard uses XDoclet annotation to create session beans or message-driven beans. Another wizard helps you to create session beans, message-driven beans, or entity beans, while avoiding the complexities that exist between the different types of beans.
For more information about creating enterprise beans by generating a bottom-up mapping from a database schema, see Generating beans by mapping from a database schema.