Java
-
Spring MVC REST Calls With Ajax
This post provides a simple example of REST calls to a Spring MVC web application. It is based on the Serving…
Read More » -
JBoss HornetQ for Kids, Parents and Grandparents – Chapter 1
It’s now almost 4 years that I’m working with HornetQ and I think it’s time to share part of what…
Read More » -
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 »