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


Polymorphism in Java Generics


Since the early days as Java programmer we all know how to instantiate and use Collection objects. A List interface instantiated as a concrete class will look like the below. List myArrayList = new ArrayList(); If myArrayList is supposed to hold only Integer objects then from Java 5 compiler onwards as per Java Generics specification that instantiation will look like ...

Read More »

Spring XD for Data Ingestion


Spring XD is a powerful tool that is an installable set of Spring Boot services that run either standalone, on top of YARN or on top of EC2. Spring XD also includes an admin UI website and a command line tool for job and stream management. Spring XD is a powerful set of services that work with a variety of ...

Read More »

Building a war with spray-servlet


We will use spray-servlet to build a war file of our API. So we can run it in a java app server. I assume we already have a working REST API. We will need a web.xml, under src/main/webapp/WEB-INF/: <?xml version="1.0"?> <web-app> <listener> <listener-class>spray.servlet.Initializer</listener-class> </listener> <servlet> <servlet-name>SprayConnectorServlet</servlet-name> <servlet-class>spray.servlet.Servlet30ConnectorServlet</servlet-class> <async-supported>true</async-supported> </servlet> <servlet-mapping> <servlet-name>SprayConnectorServlet</servlet-name> <url-pattern>/*</url-pattern> </servlet-mapping> </web-app> We need an sbt plugin to ...

Read More »

Migrate sonar data from old to new sonar version


At my current project we were setting up a new buildserver. One of the things we had to do was move an old sonar implementation running on top of H2 to a new version running on Oracle. The problem was that just migrating the data is nearly impossible to do when you start with H2, and when the versions were ...

Read More »

Migrate from TFS to Git


Are you using TFS and would like to switch to a distributed VCS like Git? Well then this article might be of help. I quickly wrote down the required steps and some hints for exporting an existing TFS repository to Git. I actually wrote the notes for this article a couple of years ago, when we switched to Git (with ...

Read More »

Topic Modelling: Working out the optimal number of topics


In my continued exploration of topic modelling I came across The Programming Historian blog and a post showing how to derive topics from a corpus using the Java library mallet. The instructions on the blog make it very easy to get up and running but as with other libraries I’ve used, you have to specify how many topics the corpus ...

Read More »

Spicy Spring : Different ways of Autowiring


I would like to show different ways of using Spring’s @Autowired annotation: Constructor, Method and Field autowiring. The examples I show are all a form of byType autowiring mode (constructor autowiring mode is Analogous to byType). Take a look at the Spring Reference guide for more information on the Autowiring modes. Constructor Autowiring Create a constructor with a dependent bean ...

Read More »

Oracle Java Mission Control: The Ultimate Guide


“We love following Mikhail Vorontsov’s blog and getting his point of view on Java Performance related issues. We’ve been asked a few times how Takipi’s Java error analysis differs from Java Mission Control and Java Flight Recorder. So while the differences between the tools are pretty big (Mainly, JMC is mostly a desktop application, while Takipi was specifically designed for ...

Read More »

Stupid Recruiter Tricks, Vol. 1: “Where are you interviewing?”


Anyone who has worked with a recruiter has probably been asked “Where else are you interviewing?” or “What other companies have you applied to?“. The question comes from both agency recruiters (‘headhunter‘) representing several hiring firms and internal corporate recruiters hiring only for their company. Candidates are understandably not always willing to answer, and recruiters may stumble to give convincing explanations as to why they want to know. ...

Read More »

Minecraft Server on Google Cloud


If you’ve not followed the Minecraft/Bukkit saga over the past few months, Bukkit and CraftBukkit downloads were taken down by DMCA because a developer (@wolvereness) wanted Mojang to open up. Mojang (@vubui) posted an official statement in their forums. The general feeling is that @wolvereness left the Bukkit community hanging, and Mojang is not responsible for this debacle. One of my friends (@ryanmichela), and ...

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.