concept JNDI in category spring
appears as: JNDI

This is an excerpt from Manning's book Spring in Practice.
We assume that you’ve already configured your application server to expose your DataSource through JNDI. If not, please consult the documentation for your app server for more information. The sample code for most of the chapters in the book includes a /sample_conf/jetty-env.xml file that shows how to do it for Jetty.