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



Designing a Disruptive Technology Strategy


Growing up, my sister Christina was always interested in architecture and I wasn’t–at all. She was constantly visiting houses, churches, and corporate buildings for fun. I thought it was the most boring thing in the world. It wasn’t until much later in life that I gained an appreciation for architecture. Only after giving in and promising to open my mind ...

Read More »

The Product Strategy Defined


Summary Creating a successful product requires attention to the details, from getting the user interaction and the visual design right to providing the right functionality and using the right technologies. With so much focus on the nitty-gritty, it’s easy to no longer see the wood for the trees. This is where the product strategy comes in. It helps you manage ...

Read More »

Performance Comparison of Multithreading in Java


There are different techniques for multithreading in Java. One can parallelize a piece of code in Java either with synchronize keywords, locks or atomic variables. This post will compare performances of using synchronized keyword, ReentrantLock, getAndIncrement() and performing continuous trials of get() and compareAndSet() calls. Different types of Matrix classes are created for performance testing and a plain one also ...

Read More »

How does Hibernate NONSTRICT_READ_WRITE CacheConcurrencyStrategy work


Introduction In my previous post, I introduced the READ_ONLY CacheConcurrencyStrategy, which is the obvious choice for immutable entity graphs. When cached data is changeable, we need to use a read-write caching strategy and this post will describe how NONSTRICT_READ_WRITE second-level cache works. Inner workings When the Hibernate transaction is committed, the following sequence of operations is executed: First, the cache ...

Read More »

Configuration over JNDI in Spring Framework


From a certain point on, an application has to be configurable.  Spring Framework has a nice auxiliary tool for this issue since the first version 0.9 , the class PropertyPlaceholderConfigurer and since Spring Framework 3.1 the class PropertySourcesPlaceholderConfigurer. When you start a Google search for PropertyPlaceholderConfigurer, you will find many examples where the configuration items are saved in properties files. But ...

Read More »

Implementing Filter and Bakery Locks in Java


In order to understand how locks work, implementing custom locks is a good way. This post will show how to implement Filter and Bakery locks at Java (which are spin locks) and will compare their performances with Java’s ReentrantLock. Filter and Bakery locks satisfies mutual exclusion and are starvation free algorithms also, Bakery lock is a first-come-first-served lock [1]. For performance testing, a ...

Read More »

More advanced stuff with JMS and AWS SQS


As you might know SQS in AWS SQS stands for ‘Simple Queue Service’. While playing around with it I recently found one of the reasons why it may be called ‘simple’. In two previous posts (here and here) I showed to use SQS as a JMS queue provider in combination with the Spring Framework. With this basic setup I decided ...

Read More »

How Java 9 And Project Jigsaw May Break Your Code


Java 9 looms on the horizon and it will come with a completed Project Jigsaw. I didn’t pay much attention to it until I learned from a recent discussion on the OpenJFX mailing list that it may break existing code. This is very unusual for Java so it piqued my interest. I went reading the project’s JEPs and some related ...

Read More »

Spark and Cluster Computing


In this post I’ll mention the first paper at which Spark is introduced, Spark: Cluster Computing with Working Sets.  This post will be one of the base posts about my GSoC project. You can read the post about my accepted proposal from here: GSoC 2015 Acceptance for Apache GORA. MapReduce and its variants are successful for large-scale computations. However, most of these variants are based on ...

Read More »

Unit And Integration Test Reports For Maven Projects In SonarQube


Since SonarQube 4.2. the test report isn’t generated by the Sonar Maven Plugin during a Maven build (see SonarQube’s blog post) . Therefore, the test report has to be generated by another plugin before Sonar Maven Plugin collects the information for the SonarQube server. Here, Jacoco Maven Plugin can help. It has the possibility to generate test report that are ...

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.