Software AG Infrasructure 10.7 | Running Web Applications | About Configuring JNDI Resources
About Configuring JNDI Resources
Configuring the JNDI Injection Framework
Configuring JNDI Resources
Configuring Environment Entries
The standard way for web applications to access resources from the external environment is to look up objects via JNDI. Software AG Runtime provides a JNDI injection framework that allows web applications to access dynamic Common Platform resources in a transparent way. The JNDI injection framework supports the standard elements resource-ref, resource-env-ref, and env-entry for resource definition. The resource is accessed from the Java code in the standard way. It is bound under java:comp/env namespace.
You can configure custom web applications to use JNDI resources in the standard way (that is, by declaring a resource reference in the WEB-INF/web.xml file that is contained in the web application war).