Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!


1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions


and many more ....



Clean Code from the trenches


Clean Code from the trenches – Validation Let’s directly start with an example. Consider a simple web service which allows clients to place order to a shop. A very simplified version of the order controller could look something like below – @RestController @RequestMapping(value = "/", consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.APPLICATION_JSON_VALUE) public class OrderController { private final OrderService orderService; public ...

Read More »

Apache Camel 2.19 Released – Whats new

Apache Camel 2.19 was released on May 5th 2017 and its about time I do a little blog about what this release includes of noteworthy new features and improvements. Here is a list of the noteworthy new features and improvements. 1. Spring Boot Improvements The Camel 2.19 release has been improved for Spring Boot in numerous ways. For example all ...

Read More »

The difference between a compiler and an interpreter

According to their definitions, the difference between a compiler and an interpreter seems clear enough: interpreter a program that directly executes instructions written in a programming language compiler a program that transforms source code in a low(er)-level language If you dig deeper, though, you might find some blurring between the two. In fact an interpreter could translate the source language in a ...

Read More »

Yet another Jigsaw opinion piece

In the past weeks there has been a heated debate around the imminent release of Java 9 and its most famous feature: the Java platform module system – the JPMS – which is better known under its project umbrella‘s name Jigsaw. The module system is introduced into the Java ecosystem in form of a formal specification process – a JSR ...

Read More »

How Does Inversion of Control Really Work

IoC seems to have become the cornerstone concept of many frameworks and object-oriented designs since it was described by Martin Fowler, Robert Martin and others ten years ago. Despite its popularity IoC is misunderstood and overcomplicated all too often.                 Look at this code: print(book.title()); It is very straight forward: we retrieve the ...

Read More »

Java Platform Module System Public Review Fails to Pass

There has been an unusual level of drama, intrigue, and politics in the world of Java over the past few weeks that culminated in this week’s JSR 376 Java Platform Module System Public Review Ballot. Java modularity [including the Java Platform Module System (JPMS)] has been arguably the most significant piece of JDK 9 and so it’s not surprising that ...

Read More »

Configuring multiple context root for a single webapp – JBoss

Sometime back we made changes to our application to support multiple context root leveraging JBoss capabilities by defining one in jboss-web.xml, as follows: webapp/WEB-INF/jboss-web.xml: <?xml version="1.0" encoding="UTF-8"?> <jboss-web> <context-root>appA</context-root> <session-config> <session-timeout>10</session-timeout> </session-config> </jboss-web> And defining the rewrite rule in virtual-server of one of the subsystem in standalone.xml to support other(s) context root, as follows: jboss-eap/standalone/configuration/standalone.xml: <subsystem xmlns="urn:jboss:domain:web:2.2" default-virtual-server="default-host" native="false"> <connector ...

Read More »

Clinic: Product Owner/Manager question

An old product manager friend writes…. “Just started a new gig as senior product manager at blah blah blah Discovering that scrum teams aren’t organized around products but rather engineering components. For instance a product manager has to work with three different scrum teams: – front end – back end – data science This makes it hard for Product Managers ...

Read More »

Quick Introduction to the Computer Vision API

What Is Machine Learning? Machine learning is a hot topic these days because some of the biggest tech companies are focused on taking this technology to a new level. For instance, to help develop autonomous driving cars, better interaction between you and your house with products like the Amazon Echo. Machine learning is a core sub-area of artificial intelligence. Machine ...

Read More »