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



Java EE Stateful Session Bean (EJB) example


In this article we are going to see how you can use Stateful Session Beans to keep track of state across a client Session in a simple Web Application. 1. Introduction Stateful Session Beans usually hold information about a specific client’s session, and holds that information throughout the whole session (opposed to Stateless Session Beans). A Stateful EJB instance is ...

Read More »

Agile Mindset for Your Startup


I got to share the stage with the other half last week at Harvard Innovation Lab, when Jeffrey Beir & I took turns presenting dueling views on building your startup. Myself from the product perspective, Jeffrey from the investor’s viewpoint. While we had clearly different opinions, one thing we both agreed on was that if you’re going to do a ...

Read More »

Imbibing the Fluency of Mockito


I recently found myself writing some code to integrate two disparate platforms. One of these systems is Java based and the other, while not written in Java, offers a Java API. I’ll call these systems Foo and Bar, respectively. It became obvious before I had written a line of code, however, that testing the eventual adapter would require I explicitly ...

Read More »

Refining a Change Canvas to Represent a Minimum Viable Change


Using a change canvas helps change agents deliver on the first promise of the Lean Change method, that change be negotiated. Following the principle of negotiated change, successful change requires that both change agents and change recipients engage in a cocreative process ensures that any suggested change meets the particular needs of the people being asked to change. The use ...

Read More »

HAPROXY up and running in couple of minutes


I tried HAPROXY for my WEBAPP (Hosted on tomcat) -reason for using HAPROXY is that it also supports WEBSOCKETS and my current project uses websockets for server push. As first step, I tested it with bare bone web application -wow, it’s just so easy, without any hiccups it was up and working in ~30 minutes. I used Linux box as ...

Read More »

Multiple Inheritance in Java and Composition vs Inheritance


Sometime back I wrote few posts about inheritance, interface and composition in java. In this post, we will look into multiple inheritance and then learn about benefits of composition over inheritance. Multiple Inheritance in Java Multiple inheritance is the capability of creating a single class with multiple superclasses. Unlike some other popular object oriented programming languages like C++, java doesn’t ...

Read More »

neo4j/cypher: Getting the hang of query parameters


For as long as I’ve been using neo4j‘s cypher query language Michael has been telling me to use parameters in my queries but the performance of the queries was always acceptable so I didn’t feel the need. However, recently I was playing around with a data set and I created ~500 nodes using code similar to this:       ...

Read More »

Android HTTP Client : Network error and ConnectivityManager


In this post I will show how to handle connection errors or the situation when the connection changes (i.e from UMTS to WI-FI). In all these cases we have to gracefully handle these errors and implement some strategies to try to reconnect if possible. In a perfect world when we connect to a remote server with HTTP protocol everything works ...

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.