This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
We obtain the datasoure via JNDI in production enviroment that is configured in application server. For dev environment we use DriverManagerDataSource from spring to obtain the datasource. My question is , I know we can use the same JNDI in dev environment too to obtain the datasource . I beleive that to get the datasource via JNDI in dev environment is heavy weight. Is there any other advantages ?