Entering content frame

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

Use

The Diagram view provides a visual representation of the EJB Module project.

You can:

·        Create new packages

·        Add enterprise beans

·        Create relationships

See also Editing ejb-jar.xml in the Diagram View.

Prerequisites

The EJB Module project exists. See Creating EJB Module Projects and Creating EJB Module DC Projects.

Procedure

       1.      In the J2EE Explorer or J2EE DC Explorer select the EJB Module 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.

Related Procedures

Creating Packages in the Diagram View

Creating Enterprise Beans in the Diagram View

Creating EJB Relationships in the Diagram View

 

Leaving content frame