IntelliJ IDEA– Remove/Optimize unused imports shortcut keys

In IntelliJ IDEA, Ctrl + Alt + O is the shortcut keys to remove/optimize unused imports for Windows/Linux operating system, […]

Continue reading...

@ConfigurationProperties Annotation in Spring Boot

@ConfigurationProperties annotation is used to pulling up a “group of configuration values” from the properties file. @ConfigurationProperties annotation is also […] Continue reading »

Java- Find all possible Palindrome in given String

In this short article, we’ll show you how to find all possible Palindrome in given String using Java. Let us […] Continue reading »

Spring Boot Actuator: Overview and Getting Started

On this page, we’ll discuss the Spring Boot actuator overview and how to integrate/getting started with it. 1. Overview Spring […] Continue reading »

Spring @Value Annotation Example

In this guide, we’ll show you some tips & tricks of Spring @Value annotation. @Value annotation is used to assign […] Continue reading »

Spring Boot REST API File Upload/Save Example

This guide shows you how to upload/save a file using Spring Boot REST API. To upload files via HTTP multi-part […] Continue reading »

Java Program for Tower of Hanoi Problem

In this article, we are going to solve the Tower of Hanoi problem using Java program. There are two approaches […] Continue reading »

Spring Boot Dynamic DataSource Routing using AbstractRoutingDataSource

This page will walk through Dynamic DataSource Routing using AbstractRoutingDataSource and Spring Data JPA in Spring Boot. AbstractRoutingDataSource is an […] Continue reading »

Spring Boot Multiple Data Sources Example with Spring JPA

This guide walks you through how to configure multiple data sources in the Spring Boot application using Spring Data JPA. […] Continue reading »

How to sort Map by Key or Value in Java 8

A Map can also be sorted with stream.sorted() method in Java 8. We can sort the Map based on its […] Continue reading »

Java 8 – How to sort Set with stream.sorted()

In this quick tutorial, we’ll learn how to sort Set in Java 8. stream.sorted() is a predefined method of Stream […] Continue reading »

How to sort list in Java 8

In Java 8, the elements of a list are sorted by calling stream.sorted() method of Stream interface. As we know, […] Continue reading »

1 17 18 19 20 21 44