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 ....


Best Practices for Multi-Tier Java Application Deployments on Docker Containers on Any Cloud


This article is based on a DCHQ Whitepaper (September 2015). DCHQ is an Advanced Platform for Automation of Container based Apps on any Cloud. The hosted platform is perfect for development teams that are quickly growing and looking to automate the deployment, life-cycle management and monitoring of applications to reduce the cost of replicating applications in DEV/TEST environments. Sign Up ...

Read More »

FREE Programming books with the WCG Newsletter


Dear fellow geek, it is with great honor that we announce the launch of Web Code Geeks! This is our sister site, targeted to Web programming developers. Come on, admit it, there is a web developer inside you too, so make sure to check it out. To celebrate this, we have decided to distribute 4 of our books for free. ...

Read More »

What the Heck Is Mutation Testing?


In recent times, I came repeatedly upon the term mutation testing. Since the word is that this approach is able to detect test safety net gaps in a way which goes beyond code coverage, I took my time to catch up on the topic and gave it a try. This post summarizes my findings as a quick introduction to the ...

Read More »

Apache JMeter Tutorial


Want to load test your web app? Then you should know about Apache JMeter! This JMeter tutorial explains the basic concepts as well as how to create a test plan and how to execute it to benchmark your application. This is a crossposting of my article on Disy’s Tech-Blog – thanks for letting me write it on company time, guys! ...

Read More »

JMS Sender application with ActiveMQ and Maven


We have already seen how to create a JMS Receiver application with ActiveMQ and Maven. Let’s check out how we can similarly create the JMS Sender application. web.xml remains the same as we had used for creating the receiver application: <web-app xmlns="" xmlns:xsi="" xsi:schemaLocation="" version="3.0"> <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/jmsContext.xml</param-value> </context-param> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> </web-app> jmsContext.xml would change a bit to something like: ...

Read More »

Wrap around design pattern in java8


Wrap around pattern is not listed in in GOF book but is very useful for problem like below: Loop construct for e.g do while/while/for loop Stopwatch around some code. Wrap checked exception with run time exception Initialization and cleanup for eg Threadpool creation/destruction or file open/close etc Adding context info to threads for eg request context info for logging or ...

Read More »

Simplify Email In Your App with Mailgun API


Mailgun is email for developers. Mailgun has elegant REST API to send and receive emails from your mobile app. I know that many developers send emails from their apps for registration, confirmation, and everything else. To make it simple to use the Mailgun API in an, we have introduced a Mailgun plugin in         ...

Read More »

Continuous Deployment circleci, AWS (Elastic Beanstalk), Docker


Introduction We run some of our services in Docker container, under Elastic Beanstalk (EB). We use circleci for our CI cycle. EB, Docker and Circlec integrate really nice for automatic deployment. It’s fairly easy to set up all the services to work together. In this post, I am summarising the steps to do it. About EB Applications and Versions Elastic ...

Read More »

Annotation-driven event listeners in Spring 4.2


Introduction Exchanging events within the application has become indispensable part of many applications and thankfully Spring provides a complete infrastructure for transient events (*). The recent refactoring of transaction bound events gave me an excuse to check in practice the new annotation-driven event listeners introduced in Spring 4.2. Let’s see what can be gained. (*) – for persistent events in ...

Read More »

A Taxonomy Of Comments


Comments can be used to convey what code does, what it should to, what it does not do, why it exists, when and how it should and shouldn’t be used, and more. Let’s categorize them! Isn’t this boring? Well, maybe, although Carl didn’t think so. And I see it as an important next step in our discussion about comments:   ...

Read More »

Clean Integration Testing with JUnit Rules


The benefits of JUnit Rules, especially when dealing with integration testing, can hardly be overrated. In this post, we’ll shine a light on the usefulness of ExternalResource extensions. These simplify fixture control in cases where we have to work with external-resource-abstracting third-party libraries. As an example, we’ll have a look at how to verify the correct retrieval of a list ...

Read More »

Persistence in CQRS Read Models


One of the biggest benefits of CQRS is the ability to implement multiple read models. Business rules and the domain model are safe, clean and isolated over in the write model. They are not getting in the way of view models, which can selectively pick the pieces they are interested in, freely reshape them, and do everything in a way ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.