Modeled entity beans can be reverse-engineered on a diagram of EJBs from table definitions accessible via an existing database connection in JDeveloper.
To reverse-engineer a table definition to an entity bean:
Open, or create, the diagram on which you want to create an entity bean based on a table definition.
Expand the node in the Connections Navigator for the database connection in which the table definition you want to reverse-engineer to an entity bean is stored.
Expand the user node then the Tables nodes on that connection.
Note: To reverse-engineer several tables to entity beans, hold down the Ctrl key, select the tables in the navigator you want to reverse-engineer, drag these tables onto the diagram, then release the Ctrl key.
Select whether you want to reverse-engineer the table definition to an EJB 1.1 Entity Bean or EJB 2.0 Entity Bean then click OK.
Creating a Diagram of Enterprise JavaBeans
Copyright © 1997, 2004, Oracle. All rights reserved.