Java
-
Running multiple ActiveMQ instances on one machine
A few weeks ago I started making use of Apache ActiveMQ again as the JMS provider with my Mule ESB…
Read More » -
Implementing dynamic proxies – a comparison
Sometimes there is the need to intercept certain method calls in order to execute your own logic everytime the intercepted…
Read More » -
Using regex to hanging indent a paragraph in Java
This post shows how to hanging indent a long paragraph using regular expression. The method will consider word boundaries, which…
Read More » -
Understanding Spring Web Initialization
Few years ago majority of us were used to write XML config files everywhere, to setup even simple Java EE…
Read More » -
Execute Custom queries in Activiti
(This will probably end up in the user guide of the Activiti 5.15 release, but I wanted to share it…
Read More » -
sun.misc.Unsafe and off heap memory
The class sun.misc.Unsafe allows you to many of the things you shouldn’t be able to do in Java, but are…
Read More » -
Using an Embedded Tomcat with Maven tomcat plugin
When developing a java web application using the Eclipse WTP, we need to have an installation of tomcat in the…
Read More » -
Testing Spring components with Mockito
Be able to unit test your spring components without the need of loading the full spring-context with its ad-hoc test…
Read More » -
How to estimate memory consumption?
This story goes back at least a decade, when I was first approached by a PHB with a question “How…
Read More »