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



10 Examples of using ArrayList in Java – Tutorial

ArrayList in Java is the most frequently used collection class after HashMap. Java ArrayList represents an automatic re-sizeable array and used in place of array. Since we can not modify the size of an array after creating it, we prefer to use ArrayList in Java which re-size itself automatically once it gets full. ArrayList in Java implements List interface and allow ...

Read More »

Get Up to Speed with Microservices in 8 hours

Everybody is talking microservices these days and Red Hat is doing some very cool developer events around the world. The latest one happened at the beginning of November last year. The amazing speaker lineup starts with special guest speaker, Tim Hockin from the Google Cloud Management team and technical lead and co-founder of Kubernetes, along with Red Hat’s James Strachan and ...

Read More »

Container Object pattern. A new pattern for your tests.


If you search for a description of what Page Object is, you’ll find that The Page Object Pattern gives us a common sense way to model content in a reusable and maintainable way. And also points that: Within your web app’s UI there are areas that your tests interact with. A Page Object simply models these as objects within the ...

Read More »

WildFly Swarm – Deploying Java EE Applications As Standalone Jars

WildFly Swarm provides an easy solution for deploying Java EE applications as a standalone Jar file. This makes it very easy to deploy applications, particularly REST or web services. Swarm is very similar to Spring Boot in that respect, in that it enables web (.War) applications to be developed quickly and then deployed as standalone applications without the need to ...

Read More »

How to mock Spring bean (version 2)


About a year ago, I wrote a blog post how to mock Spring Bean. Patterns described there were little bit invasive to the production code.  As one of the readers Colin correctly pointed out in comment, there is better alternative to spy/mock Spring bean based on @Profile annotation. This blog post is going to describe this technique. I used this ...

Read More »

Pointers in Java

Are there pointers in Java? The short answer is “no, there are none” and this seems to be obvious for many developers. But why is it not that obvious for others? That is because the references that Java uses to access objects are very similar to pointers. If you have experience with C programming before Java it ...

Read More »

2016 Will be the Year Remembered as When Java Finally Had Window Functions!

You heard right. Up until now, the awesome window functions were a feature uniquely reserved to SQL. Even sophisticated functional programming languages still seem to lack this beautiful functionality (correct me if I’m wrong, Haskell folks). We’ve written tons of blog posts about window functions, evangelising them to our audience, in articles like: Probably the Coolest SQL Feature: Window Functions ...

Read More »

Maintain Infrastructure with Elastic Beanstalk and CloudFormation

The multitude of services and ways to build infrastructure on AWS can easily lead to a hand-crafted snowflake of a system that is hard to maintain over the long term. Often you don’t know who introduced which change or how to reproduce it in a staging environment to test future changes. To counter this problem, AWS developed CloudFormation to keep ...

Read More »

When Job Hopping Goes Wrong

While surfing a thread about a potential job change in Reddit’s /r/cscareerquestions (DISCLOSURE: I’m a mod), I read the following comment: “There is no such thing as ruining a career by switching jobs too often” At the time this was the most upvoted comment in the thread, which troubled me because it is rather poor advice. I’ve written about my ...

Read More »