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 Social Login Example

Welcome readers, in this tutorial, we will create a simple spring boot application that authenticates a user via Facebook credentials and displays his/her profile information using Spring Social. 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 ...

Read More »

Spring Boot in Memory Basic Authentication Example

Welcome readers, in this tutorial, we will implement the security mechanism with in-memory authentication 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 »

Differences Between REST and SOAP APIs

This article discusses the differences between REST and Soap APIs. Therefore, after reading these articles, readers will probably understand why, when and how any of these two APIs are used to develop these APIs. The commonest and most popular keyword is Web Services in the area of Web Development. Herein, we first try to understand what web services are, move ...

Read More »

Spring vs Hibernate Example

1. Introduction In this post, we feature a comprehensive Example on Spring vs Hibernate. This is an in-depth article related to differences between the Spring application framework and Hibernate framework. Spring Framework helps in creating stand-alone and production-ready applications. Spring Framework features are Spring MVC, JPA, Spring Boot, Micro Containers and Messaging. In this article, we look at Spring Boot ...

Read More »

Java sort ArrayList Example

1. Introduction In this article we are going to look at the ArrayList class in Java. It is part of the java.util package. First though, in order to better understand the ArrayList class, we need to understand what an array is and how the two classes differ. 2. What is an Array? Techterms.com offers a succinct definition of an array, ...

Read More »

Java Classes and Objects Tutorial

Java language has object-oriented features to create classes and objects. In this tutorial, how to develop Java classes and instantiate objects from java classes is discussed in detail. Table Of Contents 1. Overview 2. Java Classes and Objects Tutorial 2.1. Prerequisites 2.2. Download 2.3. Setup 2.4. Java Classes and Objects 2.5. BestPractices 2.6. Error Handling 2.7. Code Conventions 3. Download ...

Read More »

Java EE Bean Validation Example

1. Introduction Hi Java Code Geeks fan! This article is about a Java EE Bean Validation Example. One coding practice that we should do is to always validate variables before using. In this example we validate the input received from the user to maintain data integrity. Maintaining data integrity is an important part of application logic. Validating data can take ...

Read More »

Git Pull Refusing to merge unrelated histories Example

In this blog post, we will take a quick look at Git and the problem of unrelated histories during Git merge. We will also look at a way to solve the unrelated history problem. 1. Introduction to Git Git is a distributed version control system for tracking changes in source code during software development. It is designed for coordinating work ...

Read More »

Java round double value to 2 decimal places Example

1. Introduction A double variable is used to hold a floating point value, such as 12.578. A decimal place is the position of a digit to the right of a decimal point. The 12.578 with 2 decimal places is represented as 12.57. Java has provided PrintStream, String.format, Formatter, NumberFormat, DecimalFormat, and BigDecimal to format and round a number based on ...

Read More »

Spring Boot JWT Authentication Example

Welcome readers, in this tutorial, we will implement the security mechanism with JSON Web Token (popularly known as JWT’s) 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 ...

Read More »