Show TOC Start of Content Area

Procedure documentation Editing ejb-jar.xml in the Diagram View  Locate the document in its SAP Library structure

Use

The Diagram view provides a visual representation of the ejb-jar.xml file. Configuration using this file is extensively covered under Developing Enterprise Beans. For more editing possibilities, see Editors for Deployment Descriptors.

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 EJB Module Diagram from the context menu.

The Diagram view displays any elements already in the file.

This graphic is explained in the accompanying text

ejb-jar.xml in the Diargam view

       2.      In the ejb-jar.xml diagram, perform the necessary tasks from the following list:

Task

Steps

Adding Enterprise Beans

                            a.      In the toolbar, select Ejb.

                            b.      Click on an empty part of the page.

                            c.      Select the EJB that you want to add.

                            d.      Choose OK.

Adding Other Elements

...

                            a.      In the toolbar, select the type of element to be created.

                            b.      Click on an empty part of the page.

Adding a Link

...

                            a.      In the toolbar, select the type of link.

                            b.      Drag and drop the link on the relevant objects.

 

Deleting an Object

                            a.      Select the object.

                            b.      Choose Delete from the context menu.

                            c.      In the confirmation dialog, choose OK.

 

Navigating to an Object in the J2EE View

                            a.      In the Diagram view, select the object.

                            b.      Choose Select in J2EE View  from the context menu.

 

End of Content Area