Managing Enterprise Bean Local References
This procedure enables you to set enterprise bean local 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-local-ref (description?, ejb-ref-name, ejb-ref-type,
local-home, local, ejb-link?)>
<!ELEMENT description (#PCDATA)>
<!ELEMENT ejb-ref-name (#PCDATA)>
<!ELEMENT ejb-ref-type (#PCDATA)>
<!ELEMENT local-home (#PCDATA)>
<!ELEMENT local (#PCDATA)>
<!ELEMENT ejb-link (#PCDATA)>
To set bean local references choose Environment ® EJB Local References.
If You Want To |
Then |
Add a bean local reference |
...
1.
Enter bean
reference name. 2. Select the bean type from the Bean Type drop-down menu.
3.
Enter EJB Local
Home value. 4. Enter the fully-qualified name of the bean local 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. |
Modify a bean local reference |
... 1. Select a reference from the list of available ones.
2.
Modify the entered
information 3. Choose Modify. |
Remove a bean local reference |
Select the reference you want to remove from the list and choose Remove. |