How to Remove php, html Extension from URL using htaccess

Most of the time web developer does not want to show the file extension in URL. Now the problem is […]

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 »

Spring Boot Profiles and Configuration Management Example

In this tutorial, we’ll learn how to configure and set profiles using Spring Boot. Every enterprise application has many profiles […] Continue reading »

Spring Boot + Spring Security Authentication with LDAP

This page will walk through Spring Boot + Spring Security authentication with LDAP. LDAP is an application protocol used to […] Continue reading »

Java- Find the index of the two numbers in the array whose sum is equal to a given number

Sometimes interviewer wants to check the candidate’s logical ability and the approach taken to solve the challenge/problem using Java. Question:  […] Continue reading »

1 19 20 21 22 23 45