Show TOC Start of Content Area

Procedure documentation Editing EJB Projects in the Diagram View  Locate the document in its SAP Library structure

Use

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.

Prerequisites

The EJB project exists. See Creating EJB Projects.

Procedure

       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:

This graphic is explained in the accompanying text

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:

This graphic is explained in the accompanying text

       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

 

End of Content Area