<?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-3.0.xsd
        http://www.springframework.org/schema/jee 
        http://www.springframework.org/schema/jee/spring-jee-3.0.xsd">

	<bean  class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> 
				<property name="location">
					<value>classpath:general.properties</value>
				</property>
		</bean>

	<jee:jndi-lookup id="dsDDA" jndi-name="${database.jndi}" cache="true" expected-type="javax.sql.DataSource" />

	<bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
		<property name="dataSource" ref="dsDDA" />
	</bean>
</beans>