Skip to content

Instantly share code, notes, and snippets.

@astralbodies
Created February 17, 2012 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save astralbodies/1855169 to your computer and use it in GitHub Desktop.
Save astralbodies/1855169 to your computer and use it in GitHub Desktop.
Spring 3.1 JNDI configuration
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jee="http://www.springframework.org/schema/jee"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee.xsd">
<jee:jndi-lookup id="echoDataSource" jndi-name="${echoDataSource}" />
<jee:jndi-lookup id="pavDataSource" jndi-name="${pavDataSource}" />
<jee:jndi-lookup id="advertOdsDataSource" jndi-name="${advertOdsDataSource}" />
<jee:jndi-lookup id="sortedOdsDataSource" jndi-name="${sortedOdsDataSource}" />
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment