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 .... :)

Posted by Karsten at 07.07.04 09:51 | TrackBack
Post a comment

Remember personal info?