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

 

Devoxx UK free ticket giveaway – Roundup

jcg-logo

Fellow geeks, Our giveaway of a £350 Devoxx UK 2013 London community conference ticket has ended. You may find the original post for the competition here. The Prize Winner The lucky winner who will receive a ticket for the Devoxx UK 2013 London community conference going to take place on the 26th and 27th of March 2013 is (name is ...

Read More »

Difference between Comparator and Comparable in Java

java-logo

One of the common interview question is ‘What are differences between Comparator and Comparable’. or ‘How will you sort collection of employee objects by its id or name’.For that we can use two interfaces.i.e. Comparator and Comparable.Before we actually see differences,let me give you brief introduction of both. Comparable interface: Class whose objects to be sorted must implement this interface.In ...

Read More »

Observer design pattern in Java

java-logo

As the name suggests it is used for observing some objects.Observer watch for any change in state or property of subject.Suppose you are interested in particular object and want to get notified when its state changes then you observe that object and when any state or property change happens to that object,it get notified to you. As described by GoF: ...

Read More »

Java: Rest-assured (or Rest-Very-Easy)

jboss-resteasy-logo

Recently I had to write some Java code to consume REST services over HTTP. I’ve decided to use the Client libraries of RestEasy, the framework I use most of the time to expose REST services in Java, since it also implements the official JAX-RS specification. I am very satisfied with the annotation driven approach that the specification defines and it ...

Read More »

Java – Handmade Classloader Isolation

java-logo

In a recent project we had a typical libraries conflict problem. One component that we could control wanted a specific version of an Apache Commons library, while another component was expecting a different one. Due to external constraints we could not specify any class loading isolation at the Container level. It wasn’t an option for us. What we decided to ...

Read More »

Using twitter4j with Play! Framework and Secure Social is this easy

play-framework-logo

Dur­ing yesterday’s per­sonal Hackathon, I started a project which I might intro­duce here some­time. But the coolest rev­e­la­tion was (again) how easy it was to get up and running. Cre­ate a new Play Project Add Secure Social and con­fig­ure it for Twit­ter, and use the InMem­o­ryUserSer­vice from the exam­ples. (all this is described here http://securesocial.ws/guide/getting-started.html and only takes a minute) ...

Read More »

Easy testing SLAs on distributed components with grep4j

java-interview-questions-answers

So your distributed architecture looks something like the picture below and you just have received a requirement from the business to make sure that the SLAs of the messages sent by the Producer and then traveling to the downstream systems (consumers) must be fast and never slower than 400 milliseconds. Requirement says : The Latency of a message sent from ...

Read More »

Test driving Java API for Processing JSON with GlassFish 4.0

oracle-glassfish-logo

Writing and contributing to a specification is one thing. Working with it and looking into real examples a pre-condition if you want to give valuable feedback. The latest promoted GlassFish builds contain the renaming to 4.0 and I thought it might be a good time to give the Java API for Processing JSON (JSON-P) a test drive. Get Java EE ...

Read More »

Most popular Java environments

java-logo

The post is going to be the first in the forthcoming series. We start with the environments used: if you are interested which is the most popular JVM vendor or JVM version, whether 32bit is more popular architecture than 64bit or whether Windows 8 is more popular than Windows XP – this will all be covered in our post. In ...

Read More »

Chronicle and the Micro-Cloud

java-logo

Overview A common question I face is; how do you scale a Chronicle based system if it is single writer, multiple readers. While there are solutions to this problem, it is far more likely it won’t be a problem at all. The Micro-Cloud This is the term I have been using to describe a single thread to do the work ...

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.