Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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