How to lookup data source from JNDI using spring
<Resource name="jdbc/javatechie" global="jdbc/javatechie" auth="Container" type="javax.sql.DataSource" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/javatechie" username="root" password="Password"
maxActive="100"
maxIdle="20"
minIdle="5"
maxWait="10000"/>
<jee:jndi-lookup id="dataSource" jndi-name="jdbc/javatechie" expected-type="javax.sql.DataSource" />