Define JNDI bindings for Application Client Projects
Use the deployment descriptor editor to define the JNDI bindings for an Application Client Project.
To define the JNDI bindings for an Application Client Project:
In Project Explorer, expand...
Dynamic Web Projects | your web project | Deployment Descriptor | References page | WebSphere Bindings...and type a data source JNDI name. This specifies the JNDI name for the JNDI data source.