Entering content frame

Procedure documentation Declaring EJB References Locate the document in its SAP Library structure

Use

Use this procedure to declare references from an enterprise bean to other enterprise beans.

Procedure

...

       1.      Open the ejb-jar.xml

       2.      From the right-hand pane, choose the Enterprise Beans tab

       3.      Open the corresponding tree structure according to the type of your enterprise bean (session, entity, or message-driven)

       4.      From your bean tree sub-structure, select ejb-ref (if you want to declare references to home interfaces) or ejb-local-ref (if you want to declare references to local home interfaces)

       5.      Choose add.

A dialog box appears.

       6.      Choose the enterprise beans, to which you want to declare EJB references.

The selected enterprise beans appear as sub-nodes under the ejb-ref or the ejb-local-ref node correspondingly. The required fields are automatically completed. You can specify the EJB Link and a description for the EJB reference.

Note

To remove an EJB reference, select it and choose Remove.

See also:

 

Specifying JNDI Names for the Beans References

 

 

Leaving content frame