You can create new enterprise beans from database tables
and add them to existing or new class diagrams.
You must have a database connection in the Database
Explorer view.
To add new enterprise beans created from a database table
to a UML class diagram:
- In the Data perspective,
in the Database Explorer view, right-click
a table or a group of selected tables; then click Create
EJBs from Tables.
- Follow the Create an Enterprise Bean wizard
to the Select Class Diagram for Visualization page
and complete one of the following steps:
- To add the new enterprise bean to an existing UML
class diagram, click Add bean to class diagram and select
the existing diagram.
- To add the enterprise bean to a new UML class diagram, click New and
follow the New Class Diagram wizard.
- Click Finish.