Show TOC Start of Content Area

Procedure documentation Creating Standard Libraries  Locate the document in its SAP Library structure

Procedure

...

       1.      Create an Enterprise Application Project.

       2.      Select the project in the Project Explorer.

       3.      In the context menu, choose PropertiesJ2EE Module Dependencies.

       4.      Choose the library archives you want to add.

If you want to add JAR files located in the Developer Studio workspace, use Add JARs.

If you want to add JAR files located outside the workspace, use Add External JARs.

Result

You are now ready to build and deploy your library component.

You can use the library components by setting an application to application reference in the application-j2ee-engine.xml file of your application.

Example

<application-j2ee-engine

   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

   xsi:noNamespaceSchemaLocation="application-j2ee-engine.xsd">

   <reference

      reference-type="hard">

      <reference-target

         provider-name="sap.com"

         target-type="application">a1</reference-target>

   </reference>

   <fail-over-enable

      mode="disable"

      xsi:type="fail-over-enableType_disable"/>

   <start-up

      mode="manual"/>

</application-j2ee-engine>

 

End of Content Area