Anders Asplund

Configure your spring web application

November 17th, 2011

This post is the first in a series of two blog posts where I will try to give some usefull tips on how to make your spring applications more configurable. Too often I see application configuration files embedded somewhere deep down in the application referenced only by its classpath location.
<context:property-placeholder location=”classpath:config.properties” />
By injecting the configurations [...]

Posted in Uncategorized | 2 Comments »

Advanced Debugging

October 19th, 2010

In a project I have been working in recently a strange problem appeared.
We had a third-party dependency provided by the application server and as a consequence the same dependency marked as provided in our maven build script. In one of our own classes we called a static method in class supplied by the third-party dependency.
Foo.bar()
The [...]

Posted in Debugging, Java, Open Source | No Comments »