-
Agile
From Idea to Code: The Lifecycle of Agile Specifications
We have just started a new project to a customer who sells widgets. This customer is the leading widget provider…
Read More » -
Core Java
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 » -
Enterprise Java
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 » -
Enterprise Java
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 » -
Core Java
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 » -
Enterprise Java
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 » -
Scala
Compiling Lambda Expressions: Scala vs. Java 8
Lambda expressions have taken the programming world by storm in the last few years. Most modern languages have adopted them…
Read More » -
Enterprise Java
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 » -
Core Java
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 »