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



Ceylon: Object construction and validation

When porting Java code to Ceylon, I sometimes run into Java classes where the constructor mixes validation with initialization. Let’s illustrate what I mean with a simple but very contrived example. Some bad code Consider this Java class. (Try not to write code like this at home, kiddies!) public class Period { private final Date startDate; private final Date endDate; ...

Read More »

I’m Glad You Studied FizzBuzz, But What About the Guaranteed Questions?

Every company takes a different approach to interviews, so without the benefit of inside information it is impossible to predict whether you might be subjected to a whiteboard session, a code pairing exercise, a written test, random Fermi questions (still a thing?), or a technical trivia game show focused on the minutiae of some framework or language. New graduates often ...

Read More »

Let it crash

“Let it crash” is a watchword in the Erlang world that has a pretty specific meaning in that context, but can be seriously misapplied if taken out of context. In the erlang world, a “crash” is the termination of an actor in it’s specific context. In a well designed actor system, the actors have very specific jobs and if they ...

Read More »

First for test, second for implementation!

Test-Driven Development is a great technique, isn’t it? Today I want to propose you an experiment that may help you convince all of those struggling developers that writing code in such manner really improves your code and development. What is the experiment about? It’s about only one, tiny commit which will force you to practice this technique for some time. ...

Read More »

How To Read Your Passport With Android

As I’ve been researching machine readable travel documents, I decided to do a little proof-of-concept on reading ePassports using an NFC-enabled smartphone (Android). The result is on GitHub, and is based on the jMRTD library, which provides all the necessary low-level details. As I pointed out in my previous article, the standards for the ePassports have evolved a lot throughout ...

Read More »

Automated Docker Application Deployment On Alibaba Cloud (Aliyun)

DCHQ, a San Francisco-based startup delivering hybrid-cloud and enterprise application automation, is unveiling its support for Alibaba’s Cloud offering (Aliyun). DCHQ now allows users to automate the provisioning and auto-scaling of cloud services (including compute, network, and storage) on Aliyun. Once the infrastructure is provisioned, DCHQ specializes in application deployment automation – providing the service discovery and data-binding frameworks needed ...

Read More »

SASI Empowering Secondary Indexes

Back in 2010, a new feature was introduced for Cassandra 0.7: Secondary Indexes. Unlike a relational database index, it is an index associated to the values of a column which provides a key for all rows in a table. For example imagine the table “Users”. It has a primary index as “user_id”. Now imagine that you want to access the ...

Read More »

Problems in the internet of things

Having worked with connected vehicles for a number of years now, there are some things that it seems newcomers always “get wrong”. Having worked through the “plain ‘ol Internet” (POI) boom, I see parallels between the mistakes made during that period and similar mistakes in the current ongoing boom. I’ll outline the biggest few:<,/p> Failing to recognize mobility In the ...

Read More »

Enabling Entity and Query cache in Hibernate

1. Introduction Amongst the performance related tasks I have been through, this has been one of them. The concern is that if the same query is invoked every time for a particular entity and the table data is not liable to change for a particular time slot, we can possibly cache the query results with Hibernate. This means that, if we want the details ...

Read More »

Shadow Fields vs. Property Accessor Interface Round 2

If you guys haven’t noticed a (light-hearted) showdown between Dirk Lemmerman and me, let me quickly mention how we got to this point. For starters, Dirk created a JavaFX tip 23: “Save Memory Shadow Fields for Properties” to help application developers save memory when using JavaFX Properties. Pretty impressive knowing that you can save memory when objects aren’t needing to use JavaFX Property objects. While ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns