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?
regds
-
making jndi app server independent (1 messages)
- Posted by: ashutosh kumar
- Posted on: December 29 2003 01:31 EST
Threaded Messages (1)
- making jndi app server independent by Paul Strack on December 29 2003 09:01 EST
-
making jndi app server independent[ Go to top ]
- Posted by: Paul Strack
- Posted on: December 29 2003 09:01 EST
- in response to ashutosh kumar
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.