I am developing a web application where the use of JNDI resource is needed.
Indeed, I defined the following piece of code within the web.xml file:
When I build the application and then I want to deploy the EAR using the Websphere WEB console, I can perform the step where you specify the binding between MY_CONFIG_DIR and APP_CONFIG_DIR, where APP_CONFIG_DIR is a JNDI property defined in Environment -> Naming -> Name Space Bindings.
All works fine, since I am deploying through the WAS console, but I have some problem in development environment. Actually, I cannot perform the step described above (i.e. the binding between MY_CONFIG_DIR and APP_CONFIG_DIR), when deploying directly from Eclipse through the WAS plugin.
How can this be done in eclipse during the deployment phase? I've read something about deployment descriptor but I didn't understand how to solve.