Archive for June, 2010

Testing CXF with Autowiring using Spring

Here is how to create a test for a CXF web service implementation class. The test use spring-mock base classes and hereby support stuff like transactions and autowiring through annotations. Neat. I have a base class like this: One thing here: cxf.xml is loaded from classpath by the test code, but it resides in src/main/webapp/WEB-INF [...]

June 20, 2010 В· polesen В· No Comments
Tags: , , , ,  В· Posted in: Programming

One Pool to Rule Them All…in tomcat

I am developing a system that gets deployed as a bunch of separate webapps but all in the same tomcat instance. Not long ago, we opened up production for a lot more users, which quickly led to some resource exhaustion-primarily on the database backend. In other words, … we were beating oracle to death. After [...]

June 13, 2010 В· polesen В· No Comments
Tags: , , ,  В· Posted in: Programming