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



Using MySQL JDBC Driver With Spring Boot

In this article, I will show you how to connect a MySQL database with your Spring Boot application. Tools used in this article include: Spring Boot 1.5.6 Release MySQL 5.7.X Maven Java 8 Spring Data JPA 1 – Project Structure The project structure is a typical Maven structure. 2 – Project Dependencies Please note that the parent needs to declared. ...

Read More »

PagingAndSortingRepository – How to Use With Thymeleaf

For this tutorial, I will demonstrate how to display a list of a business’ clients in Thymeleaf with pagination. 1 – Project Structure We have a normal Maven project structure. 2 – Project Dependencies Besides the normal Spring dependencies, we add Thymeleaf and hsqldb because we are using an embedded database. <?xml version="1.0" encoding="UTF-8"?> <project xmlns="" xmlns:xsi="" xsi:schemaLocation=""> <modelVersion>4.0.0</modelVersion> ...

Read More »

Validation in Thymeleaf + Spring

Overview Important topics we will be discussing are dealing with null values, empty strings, and validation of input so we do not enter invalid data into our database. In dealing with null values, we touch on use of java.util.Optional which was introduced in Java 1.8. 0 – Spring Boot + Thymeleaf Example Form Validation Application We are building a web ...

Read More »

Building Spring Boot RESTful Service + Spring Boot Actuator

Overview What is REST? REST(REpresentational State Transfer) is the architectural style the web is built on and has become a standard software design pattern used for web applications. The term Representational State Transfer was first used by Roy Fielding, the originator of REST and one of the principal authors of HTTP specification, in his doctoral dissertation. There are many good ...

Read More »

Introducing OpenHub framework


This article introduces OpenHub framework – new open-source integration solution based on Apache Camel. The article responds to questions why you should care about another integration framework, what are strong/weak properties and how to start a new project with OpenHub. OpenHub framework is Apache Camel, but improved … You can of course use only Apache Camel but you need to add a ...

Read More »

Introduction to Java Virtual Machine (JVM)

What is JVM A Java virtual machine (JVM) is an abstract computing machine that enables a computer to run a Java program. There are three notions of the JVM: 1. Specification 2. Implementation 3. Instance. The specification is a document that formally describes what is required of a JVM implementation. Having a single specification ensures all implementations are inter-operable. A JVM ...

Read More »

Java Command-Line Interfaces (Part 17): jw-options

The JavaWorld article Processing command line arguments in Java: Case closed by Dr. Matthias Laux introduces a simple Java-based library for processing command-line arguments that I’ll refer to in this post as jw-options. The referenced article provides background information on why certain design decisions were made in construction of the Options class. The “Conclusion” of the article describes the advantage ...

Read More »

AWS: Spinning up a Neo4j instance with APOC installed

One of the first things I do after installing Neo4j is install the APOC library, but I find it’s a bit of a manual process when spinning up a server on AWS so I wanted to simplify it a bit. There’s already a Neo4j AMI which installs Neo4j 3.2.0 and my colleague Michael pointed out that we could download APOC ...

Read More »