Monthly Archives: March 2012

Spring Framework Transaction Management

In our previous post we linked up a JDBC connection defined in our Tomcat context.xml file to the Spring Framework. The way the datasource was defined in Spring was as a bean. <bean id=”dataSource”> <property name=”jndiName”><value>java:comp/env/jdbc/test</value></property> </bean> In order to … Continue reading

Posted in Spring Framework | 1 Comment

Linking Tomcat JDBC Connection to Spring Framework

There are a couple different ways to hook up one’s JDBC connectivity in the Spring Framework. If one decides to do it Spring standalone, then an entry like this would go in the configuration xml. <bean id=”dataSource” destroy-method=”close”> <property name=”driverClassName” … Continue reading

Posted in Server Technology, Software Programming, Spring Framework, Tomcat | 1 Comment

Oracle Connection Pools in Tomcat Part 2 – Connection Cache Properties

When last we left off in Part 1 of the Oracle Connection Pool series we had a tag that held our database connection information. <Resource auth=”Container” description=”Oracle Datasource” factory=”oracle.jdbc.pool.OracleDataSourceFactory” name=”jdbc/test” type=”oracle.jdbc.pool.OracleDataSource” url=”jdbc:oracle:thin:@oracleserver:1521/oracleserver” user=”testschema” password=”testschema”/> Now, we will add some Connection … Continue reading

Posted in Uncategorized | 1 Comment