Show TOC Start of Content Area

Procedure documentation Connecting As an AS Java Application  Locate the document in its SAP Library structure

Use

To use the capabilities of the Application Configuration API, first you have to set the reference to it within your application. This enables Java applications deployed on AS Java to read their deployed properties via the Application Configuration API.

Procedure

In the application’s application-j2ee-engine. xml deployment descriptor, set a reference to the Application-Configuration-Facade Service by including the following entry:

Syntax

<reference reference-type="hard">

    <reference-target target-type="service">

      tc~je~appconfiguration~api

    </reference-target>

</reference>

 

Theapplication-j2ee-engine.xml is located in the enterprise archive's META-INF subfolder: More information about the structure and elements of application-j2ee-engine.xml: application-j2ee-engine.xsd.

 

End of Content Area