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



Hibernate Inheritance Mapping Example

In this post, we feature a comprehensive article about Hibernate Inheritance Mapping. Inheritance is one of the fundamental design principles o Object-Oriented Languages. In Java, it is very common to have inheritance implemented in domain models. However, relational databases don’t support inheritance and they support flat structure. Java Persistence API suggests different strategies to support inheritance hierarchies. In this article, ...

Read More »

Java Operator Precedence Example

In this article, we will cover the details of Java operator precedence relative to each other. 1. What are operators in Java? Operator in java is a symbol that is used to perform operations. For example: +, -, *, / etc. There are many types of operators in Java listed below, Unary Operator,Arithmetic Operator,Shift Operator,Relational Operator,Bitwise Operator,Logical Operator,Ternary Operator andAssignment Operator ...

Read More »

What is a Field in Java ?

1. Introduction Java is an object-oriented programming language which uses “object” concept to group data and methods in a class. A variable defined in a class is called a field. A field is declared by specifying its type and name. In this example, I will demonstrate: Declare a field for the primitive data type, object, and collectionAdd static, final, transient, ...

Read More »

Unreachable Statement Java Error – How to resolve it

In this post, we shall look into Unreachable Statement Java Error, when does this occur and its resolution. 1. Introduction Unreachable Statement is an error raised as part of compilation when java compiler detects code which is never executed as part of execution of program. Such code is obsolete, unnecessary and therefore it should be avoided by the developer. This ...

Read More »

Java Wait Example

1. Introduction In this article, we will work on an example to implement wait, notify, notifyAll in Java multithreaded environment. Thread is a lightweight process within java process. Multithreading helps in maximizing CPU utilization. It allows concurrent execution of multiple parts of java program using threads. All java programs (multithreaded or not) by default, start within a thread named as main ...

Read More »

Float vs Double Java Example

Hello readers. In this tutorial we will learn about the float and double data types in the Java programming language. More specifically, we feature a comprehensive article about Float vs Double Java. 1. Introduction In Java programming, float and double data types both represent in floating-point numbers but a double data type is a little more precise than float. 1.1 ...

Read More »

Java Bitwise Operators Example

In this post, we feature a comprehensive article about Java Bitwise Operators. 1. Base2 – the basis for Binary Code The base 2, or binary numbering system is the basis for all binary code and data storage in computing systems and electronic devices. The binary uses only two numerals 0 and 1. Values are stored in binary format in memory, ...

Read More »

Apache Spark Machine Learning Tutorial

The article will feature a comprehensive tutorial on how to implement machine learning use cases with Apache Spark. Table Of Contents 1. What is Apache Spark ? 1.1. Features of Apache Spark 1.2. Components of Spark 1.3. Data processing with Spark 2. Machine Learning With Spark 2.1. MLLib 2.2. Anomaly Detection with Apache Spark 2.2.1. Data Preparation 2.2.2 Execution 2.2.3. ...

Read More »

Hibernate Configuration Example

In this post, we feature a comprehensive article about Hibernate Configuration. Working with an Object-Oriented Language and relation database can often be cumbersome and Object Relational Mapping frameworks are built to solve this problem. Hibernate is one of Java’s Object Relational Mapping framework. It abstracts us from underlying database implementations and application can be ported to other databases easily with ...

Read More »

How to write Java Doc

Hello readers, in this tutorial, we will learn how to write a Java Doc in Java programming language. 1. Introduction In Java programming, developers can use any JavaDoc tool of their preference or the ALT + SHIFT + J key for generating a standard HTML documentation. In this tutorial, we will primarily focus on the keyboard keys but before going ...

Read More »