-
Scala
become/unbecome – discovering Akka
Sometimes our actor needs to react differently based on its internal state. Typically receiving some specific message causes the state…
Read More » -
Core Java
JUnit4 Parameterized and Theories Examples
I always relied on TestNG to pass parameters to test methods in order to give a bit of flexibility to…
Read More » -
Core Java
Gang of Four – Proxy Design Pattern
Proxy is another Structural design pattern which works ‘on behalf of’ or ‘in place of’ another object in order to…
Read More » -
Enterprise Java
Java Regular Expression Tutorial with Examples
When I started my career in java, regular expressions were a nightmare for me. This tutorial is aimed to help…
Read More » -
Enterprise 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 » -
Enterprise Java
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 » -
Enterprise 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 » -
Core Java
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 » -
Software Development
Bash’ing your git deployment
Chuck Norris deploys after every commit. Smart men deploy after every successful build on their Continuous Integration server. Educated men,…
Read More »