Java
-

Spring 3.1 – Loading Properties For XML Configuration From Database
Spring makes it easy to inject values obtained from properties files via its PropertyPlaceholderConfigurer and (pre-Spring 3.1) PropertySourcesPlaceholderConfigurer (Spring 3.1).…
Read More » -

Let’s turn packages into a module system!
Many projects are divided into modules/subprojects using the build system (Maven, Gradle, SBT …); and writing modular code is generally…
Read More » -

Running HTTP/REST Integration Tests efficiently in Eclipse
Lately I had a chance to use the OSGi-JAX-RS-Connector library written by my dear fellow Holger Staudacher. The connector enables…
Read More » -

Signing Java Code
In a previous post, we discussed how to secure mobile code. One of the measures mentioned was signing code. This…
Read More » -

Stress/Load-Testing of Asynchronous HTTP/REST Services with JMeter
Although I have been using JMeter for stress- and load-testing of web applications a good few times it took us…
Read More » -

Spring MVC Error Handling Example
This post describes the different techniques to perform error handling in Spring MVC 3. The code is available on GitHub in…
Read More » -

Investigating Deadlocks – Part 5: Using Explicit Locking
In my last blog I looked at fixing my broken, deadlocking balance transfer sample code using both Java’s traditional synchronized keyword…
Read More » -

Running Drools 5.4.0 Final as a JBoss AS 7 module
Drools 5 introduces the Business Logic integration Platform which provides a unified and integrated platform for Rules, Workflow and Event…
Read More » -

Deep diving into Cloning
Before we proceed with the cloning concept let’s refresh our basics with the object creation concept. When the objects are…
Read More »




