The Diagram view provides a visual representation of the EJB project.
You can:
· Create new packages
· Add enterprise beans
· Create relationships
See Editing ejb-jar.xml in the Diagram View.
The EJB project exists. See Creating EJB Projects.
1. In the J2EE Explorer or J2EE DC Explorer select the EJB project and choose Open Package Diagram from the context menu.
If your enterprise beans are organized in packages, you will see something like this:
In this example, the first two levels of the package com.sap.examples.calculator are displayed.
2. Navigate through the levels, until the desired level is reached, like so:
a. Select a level of the package.
b. From the context menu, choose either Open or Open in New Tab.
The contents of the chosen package are displayed in the Diagram view. For example:
3. Now you can create new packages, beans, and relationships by selecting the appropriate icon from the toolbar and using drag and drop onto the Diagram view’s page.
See also:
Creating Packages in the Diagram View
Creating Enterprise Beans in the Diagram View
Creating EJB Relationships in the Diagram View