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 Struct Example

In this post, we feature a comprehensive article about structs in Java. 1. Introduction This article focuses on Structs but not Structs framework. Structs are similar to the class that holds different types of data and it is a value type. It is used to create lightweight objects and also when data is not modified after creation. Although it is ...

Read More »

Hibernate Envers Example

In many business applications, it is of utmost important to track the audit log, when and who has done the changes to the data. There are multiple approaches to achieve it. Hibernate Envers is one of the ways to achieve it. In this article, we will study the Hibernate Envers. Envers are part of the Hibernate Core module. They aim ...

Read More »

Customize Whitelabel Error Page in Spring Boot

Welcome readers, in this tutorial, we will explore how to create a custom whitelabel error page in a spring boot application. 1. Introduction Spring boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready code It creates applications that are packaged as jar and are directly started using embedded servlet container ...

Read More »

Java Super Keyword Example

In this post, we feature a comprehensive article about the Java Super Keyword. 1. Introduction super keyword is a reference variable which is used to refer the object of immediate parent class. To understand what is immediate parent, consider an example where Class B extends A and class C extends B, in this case, class A is immidate parent for class ...

Read More »

Big Data Pipeline Tutorial

In this post, we feature a comprehensive tutorial on Big Data Pipeline. 1. Big Data Pipeline – Background Hadoop is an open source data analytics platform that addresses the reliable storage and processing of big data. Hadoop is suitable for handling unstructured data, including the basic components of HDFS and MapReduce. What is HDFS? HDFS provides a flexible data storage ...

Read More »

Java Pointers (References) Example

1. Overview In this article, we will take a look at the comparison of Java Pointers (References ) with C++ Pointers. Java has four types of references which are strong, weak, soft and phantom references. In C++, you can use references and pointers. 2. Java Pointers (References) 2.1 Prerequisites Java 8 is required on the Linux, windows or mac operating ...

Read More »

Java Tic Tac Toe Program

This post is about creating a simple elegant Java Tic Tac Toe game, with ability to play human vs human and computer vs human. We will build the game incrementally with each feature added to the design. 1. Java Tic Tac Toe: Introduction This entire program requires only Java and apart from it does not require any library etc. Listed ...

Read More »

Multiple Inheritance Java Example

1. Introduction Multiple inheritance means that a class inherits fields and methods from more than one parent. Java class does not support multiple inheritance as it cannot have more than one parent. Java supports multiple inheritance via interface because an interface can have more than one parent. The “diamond problem” is an ambiguity that arises when two classes B and ...

Read More »

How to call a method in Java

A method is a collection of statements that are grouped together to perform an operation. You can pass data, known as parameters, into a method. Methods are also known as functions. Each method has its own name.  When that name is encountered in a program, the execution of the program branches to the body of that method. When the method is finished, execution returns ...

Read More »

Setting Up EhCache Without the XML Hassle

1. Introduction In this example, we will go over an easy way to set up EhCache without the XML hassle. This example utilizes the simplicity of Spring Boot and Spring’s Cache annotations. If you are on this page, I can assume you are likely familiar with EhCache. But, just in case, let’s do a short recap. EhCache is an open-source, ...

Read More »