How to Load Database Configuration from property file to JNDI bean.
posted 3 years ago
I am using Spring MVC in my Project. My requirement is to load Database Configuration from property file to JNDI bean (org.springframework.jndi.JndiObjectFactoryBean).
Usually this method is used for loading JNDI Database configuration from Context.xml( i am using Tomcat ).
But currently i moved to Embedded Jetty Server and planning to load Database Configuration from Property file without changing the JNDI settings in Spring.