Connecting As an AS Java Application 
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.
In the application's application-j2ee-engine. xml deployment descriptor, set a reference to the Application-C onfiguration-Facade Serviceby including the following entry:
Syntax
<reference reference-type="hard">
<reference-target target-type="service">
tc~je~appconfiguration~api
</reference-target>
</reference>
The application-j2ee-engine.xmlis 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.