how to use JNDIs configured on different environments at different levels?
posted 7 months ago
I have my application running on different environments such as development, testing, production ,etc.
Server is Websphere Application Server.
The problem is my JNDIs are configured on development environment server at cell level whereas on testing environment at cluster level.
Earlier all the JNDIs were on cell level everywhere and there was no problem.
For cell level JNDI , the jndi-name prefix that WAS makes us use is 'cell/persistent' whereas for cluster level JNDI, the jndi-name prefix that WAS makes us use is 'cell/cluster/FDKFDS' where 'FDKFDS' is the cluster name.
So how should I write my jndi-name in code in order to make all this work ?