Show TOC Entering content frame

Procedure documentation Managing Enterprise Bean Remote References Locate the document in its SAP Library structure

Use

This procedure enables you to set enterprise bean remote references. You can add, modify, or remove a particular reference.

The displayed tabs and fields correspond to the following elements in web.xml:

<!ELEMENT ejb-ref (description?, ejb-ref-name, ejb-ref-type, home, remote, ejb-link?)>

<!ELEMENT ejb-ref-name (#PCDATA)>

<!ELEMENT ejb-ref-type (#PCDATA)>

<!ELEMENT home (#PCDATA)>

<!ELEMENT remote (#PCDATA)>

<!ELEMENT ejb-link (#PCDATA)>

Procedure

To set enterprise bean remote references choose Environment ® EJB Remote References

If You Want To

Then

Add a new remote reference to an enterprise bean

...

       1.      Enter bean reference name.
The reference is relative to java:comp/env context and it must be unique in the web application.

       2.      Select the bean type from the Bean Type drop-down menu.

       3.      Enter EJB Home value.
It is a fully-qualified name of the bean home interface.

       4.      Enter the fully-qualified name of the bean remote interface.

       5.      Enter the name of the bean in EJB Name.

       6.      Enter the name the bean is bound to the Naming System with in JNDI Name

       7.      Enter bean reference description (optional).

       8.      Choose Add.
The references are added and displayed in the EJB References list.

Modify a bean reference

...

       1.      Select a reference from the list of available ones.

       2.      Modify the entered information.

You can change all settings except the Reference Name.

       3.      Choose Modify.

Remove a bean reference

Select the reference you want to remove from the list and choose Remove.

 

 

Leaving content frame