How can I use same jndi name/property file to be used for all major app servers?so that same jar can be deployed on any of these?
- Posted by: ashutosh kumar
- Posted on: December 29 2003 01:31 EST
Unfortunately, you can't define JNDI names in a server-independent way. Each server has a different configuration file for defining the JNDI names of resources like EJBs and DataSources.
The best you can do is to include all the different custom configuration files for the various servers in your JAR.