Show TOC Start of Content Area

Procedure documentation Editing the Environment and Resource Entries  Locate the document in its SAP Library structure

Use

Use this procedure while you are Enterprise Bean Properties Management, Application Client Properties Management or Web Archive Properties Management.

Note

A Java client archive does not have local references.

Procedure

       1.      Select the component.

       2.      Choose the Environment tab. Enter data as required in the subtabs.

       3.      If you want to modify a setting:

...

                                                  i.       Select it from the list in the corresponding tabbed pane.

                                                ii.       Modify its properties.

                                               iii.       Click the Modify button to confirm your changes.

       4.      If you want to remove a setting:

                                                  i.       Select it from the list in the corresponding tabbed pane.

                                                ii.       Click the Remove button.

       5.      If you want to clear all fields, click the Clear button.

       6.      Save the changes of you project.

Setting the EJB Remote References

...

       1.      Choose the EJB Remote References tab.

       2.      If you want to add a new EJB reference:

                                                  i.       Enter a name for the reference in the Reference Name field. This name should be unique for the application.

                                                ii.       Specify the expected type of the bean in the Bean Typecombo box.

                                               iii.       Select name of the remote home interface from the available ones in the Remote Home field, or enter the fully qualified name of a new one.

                                               iv.       Select the name of the remote interface from the available ones in the Remote field or enter the fully qualified name of a new one.

                                                 v.       Select a name for the EJB remote reference from the available ones in the EJB Name field or enter a new one.

                                               vi.       Enter a description of the EJB remote reference in the Description field.

       3.      Click the Add button to add the new entry to the EJB References list.

Setting the EJB Local References

...

       1.      Choose the EJB Local References tab.

       2.      If you want to create a new local reference you must specify:

                                                  i.       The reference name for the enterprise bean in the Reference Name field. This name should be unique for the application.

                                                ii.       The expected type of the locally referenced enterprise bean in the Bean Type field.

                                               iii.       The fully qualified name of the enterprise bean local home interface in the Local Homefield.

                                               iv.       The fully qualified name of the enterprise bean local interface in the Local field.

                                                 v.       The name of the enterprise bean in the EJB Name field

       3.      Click the Add button. The new local reference will appear in the EJB References list.

This graphic is explained in the accompanying text

The EJB Local References tab is available for Web archives and enterprise beans only.

Setting the Resource References

...

       1.      Choose the Resource References tab.

       2.      If you want to create a new resource reference:

                                                  i.       Enter a name in the Resource Name field. This name must be unique for the application.

                                                ii.       In the Resource Type field, specify the type of the resource reference.

                                               iii.       In the Authorization Type field, specify the resource authorization. For more information, see Using Resource Adapter to Obtain a Connection.

                                               iv.       In the Resource Sharing field, specify whether the connections obtained using the provided reference to a resource manager connection factory can be shared.

                                                 v.       In the Description field, enter a descriptive text.

                                               vi.       Click the Add button to add the new entry to the Resource References list.

Setting the Environment Entries

...

       1.      Choose the Environment Entries tab.

       2.      If you want to create a new environment entry:

                                                  i.       In the Entry Name field, enter the name for the environment entry.

                                                ii.       In the Entry Type field, enter the fully qualified Java type of the environment entry value expected by the component’s code.

                                               iii.       In the Entry Value field, enter the value of the application component’s environment entry.

                                               iv.       In the Description field, enter a description of the environment entry.

                                                 v.       Click the Add button to add the new entry to the Environment Entries list.

Setting the Resource Environment References

Choose t...

       1.      Choose the Resource Environment References tab.

       2.      If you want to create a new resource environment reference:

                                                  i.       In the Name field, enter a name for the resource environment reference.

                                                ii.       In the Type field, enter the type of the resource environment reference. It is the fully qualified name of a Java class or interface.

                                               iii.       In the Description field enter a description for this reference.

                                               iv.       Click the Add button to add the new entry to the Resource Environment References list.

 

 

End of Content Area