Enterprise Java
-
Going REST: embedding Jetty with Spring and JAX-RS (Apache CXF)
For hardcore server-side Java developer the only way to ‘speak’ out to the world is by using APIs. Today’s post…
Read More » -
Mixin in Java with Aspects – for a Scala traits sample
Scala traits allow new behaviors to be mixed into a class. Consider two traits to add auditing and version related…
Read More » -
MySql connections autodrop after a certain hours
MySql is configured to drop any connection which has been Idle for more than 8 hours. What is the implication…
Read More » -
Brace yourselves – Spring Framework 4.0 is coming!
A few days ago SpringSource announced that the 4.0 version of the popular Spring framework is on the road. The…
Read More » -
Testing REST with multiple MIME types
1. Overview This article will focus on testing a RESTful Service with multiple Media Types/representations. This is the tenth of…
Read More » -
Spring Property Placeholder Configurer – A few not so obvious options
Spring’s PropertySourcesPlaceholderConfigurer is used for externalizing properties from the Spring bean definitions defined in XML or using Java Config. There…
Read More » -
Hamcrest Containing Matchers
The Hamcrest 1.3 Javadoc documentation for the Matchers class adds more documentation for several of that class’s methods than were…
Read More » -
ETags for REST with Spring
1. Overview This article will focus on ETags – the Spring support, integration testing of the RESTful API, and consumption…
Read More »