07.07.04
Impressed by Springframework
I used the JDBC part of the Springframework to connect to an Oracle DB and call a stored procedure. So for the beginning I simply used the DriverManagerDataSource since it was sufficient for the beginning. But after having a greater load and the need for a connection pool I switched to Apache's Jakarta Commons DBCP and was impressed how easy it is to switch. I merely copied the .jar into the WEB-INF libs and changed my beans-config.xml by replacing the datasource class name of the bean definition with "org.apache.commons.dbcp.BasicDataSource".
And that's it!
Magic .... :)
Comments
Post a comment
Copyright © 2003-2004 · · Karsten Voges · · All Rights Reserved. · · Impressum
