Adding new enterprise beans to UML class diagrams

In UML visualization, you can add new enterprise beans to new class diagrams or to selected Unified Modeling Language (UML) class diagrams when you create them from an editor such as the EJB Deployment Descriptor.

You must set the EJB global preference so that you can add new enterprise beans to existing or new UML class diagrams when you create them by using the Create an Enterprise Bean wizard.

To add a new enterprise bean to a UML class diagram:

  1. In the J2EE perspective, click File > New > Enterprise Bean.

  2. 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.

  3. Click Finish.

 

Parent topic

Designing enterprise beans by using UML class diagrams

 

Related tasks

Creating and managing enterprise beans
Adding new enterprise beans created from database tables to UML class diagrams
Creating and managing EJB relationships
Designing CMP entity beans
Designing EJB security concepts
Running enterprise beans on a server
Debugging enterprise beans on a server
Profiling enterprise beans on a server
Navigating to EJB source code