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

 

 

Spring Boot HATEOAS in REST API Example

Welcome readers, in this tutorial, we will implement the HATEOAS principle to REST resources 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 (such as ...

Read More »

Ternary Operator Java Example

1. Introduction The word “ternary“, in mathematical terms, is an operation that takes 3 variables and, when combined, produces a single output. In Java, as in other languages such as JavaScript or Python, the ternary, or conditional operator, is the only operator that takes 3 operands and produces a value. In this example we will examine the syntax and the ...

Read More »

Java Binary Search Tree Example

1. Introduction A binary tree is a recursive data structure where each node can have at most two children. A binary search tree (BST) is a special type of binary tree which has the following properties: The left sub-tree of a node contains the nodes with the key’s value lesser than itself.The right sub-tree of a node contains the nodes ...

Read More »

Spring Cloud Zuul Gateway Example

Welcome readers, in this tutorial, we will explore an interesting and the last Spring Cloud component known as Zuul Gateway to implement a gateway for the microservices. 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 ...

Read More »

IntelliJ vs Eclipse: Complete IDE Comparison

In this post, we feature the complete IDE Comparison on IntelliJ vs Eclipse. IntelliJ and Eclipse are the integrated development environment tools. IntelliJ Idea has an integrated development environment with different features for faster and efficient coding. Eclipse has a workspace and extensible framework for plugins to customize the development environment. In this tutorial, we see the features of the ...

Read More »

Apache Maven Enforcer Plugin Example

1. Apache Maven Enforcer Plugin – Introduction Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a central piece of information. 1.1 Maven installation guide You just need to download the Maven’s zip file, unzip it to a folder, and ...

Read More »

Spring Cloud Feign Client Example

Welcome readers, in this tutorial, we will explore an interesting Spring Cloud component known as Netflix Feign Client to implement a declarative REST client. 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 ...

Read More »

Java Round Number to N Decimal Places Example

In this example, we are going to show how we can round a decimal number in Java. Before going in details let us brief you about what exactly is the rounding a number means. 1. What is rounded Number A rounded number has about the same value as the original number we started with. It is less exact than the ...

Read More »

Spring Cloud Stream Example

1. Introduction Spring Cloud Stream is a structure for structure exceptionally adaptable occasion driven microservices associated with shared informing frameworks. The structure gives adaptable programming model based on effectively settled and well-known Spring figures of speech and best works on, including support for tenacious bar/sub semantics, purchaser gatherings, and stateful segments. Message lines are significant and helpful instruments that you ...

Read More »

JPA @Embedded And @Embeddable Example

1. Introduction In this post, we will examine the functionality of two JPA annotations, the JPA @Embedded and the @Embeddable. We will leverage the power of Spring Data JPA and H2 in memory database to create the code examples and run the unit test. 2. Project Setup To run the code examples of this post, we will use the following ...

Read More »