In this article, we will learn What is AOP ? Why we need AOP ? How to implement AOP in our spring boot project?

What is AOP ?
AOP is an Aspect Oriented Programming paradigm to increase modularity by allowing the separation of cross-cutting concerns.
These cross cutting concerns are different from…

In this tutorial, we are going to learn : What is SonarQube and why we need SonarQube? How do you integrate SonarQube with spring boot?

What is SonarQube ?
SonarQube is an open source platform to perform automatic reviews with static analysis of code.

What is static code analysis?
Computer code…

In tis article we are going to learn complete Microservices architecture using spring boot.

So, First I will create two microservices in spring boot.

1. Store service 2. Catalog Service.

After creating these two microservices. We will register these microservices into Service Registry.
After that we will create API gateway. So…

In this article, we will learn how to sort a list in Java.

Ok. Lets Get Started.

Before Java8 how we sort the list :
— — — — — — — — — — — — — — —

List<Integer> numbers = new ArrayList<>();
numbers.add(2);
numbers.add(8);
numbers.add(5);
numbers.add(19);

Collections.sort(numbers);//…

How to use map(), filter() and reduce() methods on java8 stream.

map(), reduce() and filter() are intermediate operations to transforming and filtering the elements. With these three methods we can do a lot, so its worth knowing them intimately.

These three methods we can apply only on stream. In our…

Sequential Stream vs Parallel Stream in java

In this article we will learn java 8 stream with example.

What is Stream in java?
A Stream is not a data structure instead it takes input from the collection , Arrays.
A Stream in java is a sequence of objects which operates on…

Optional was introduced in jdk8. It is a public final class and used to avoid NullPointerException in Java application.

It is a public final class which is used to avoid NullPointerException in java application. It was introduced in Java8. As we know java is an object oriented programming language …

As we know set will never contain duplicate elements.
But how in java Set interface implemented class HashSet achieve this uniqueness. In this post, we will discuss about this.

HashSet uses HashMap internally to store it’s objects. Every constructor of HashSet class internally creates one HashMap object.

/**
* Constructs…

Gain Java Knowledge

The Java programming language is one of the most popular languages today. Stay up to date with news, certifications, free learning resources and much more.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store