PDA

View Full Version : Using Weblogic Connection Pool



Mukesh Antil
Aug 4th, 2005, 02:26 AM
Hi all,
I am new to WebApplication.
I had created a Simple Appication Using Spring that reads and write records to the database. The Classes Uses JDBCTemplate. now i want to use it in My Web Application So there I am providing the datasource Property in the jdbc.property file.
But I want that my Spring Should Use the Connection pool of WebLogic So I am not getting how should i Configure It in ApplicationContext.

can anyone tell me the Solution of My Problem

thanks in Advance
Mukesh

wpoitras
Aug 4th, 2005, 10:12 AM
You should assign the connection pool to a datasource in weblogic and then use a JndiObjectFactoryBean in your configuration to reference the datasource by its JNDI name. See javadoc for more details.