Hazelcast Distributed Cache with Spring Boot

Hazelcast Distributed Cache Cluster
This article will explain how to build Hazelcast Embedded Cluster for distributed cache in Spring Boot application. Multiple instances of Spring Boot [...]

Spring Data JPA Projections – 5 ways to return custom response

In this article, we are going to see Projections in Spring Data JPA in detail. We will see what are different types of projections and what are use cases to [...]

Spring Boot 2 + JUnit 5 REST API Unit Testing

This article explains how to unit test REST APIs in Spring Boot 2 using JUnit 5. As we are using Spring Boot 2, we will be using Spring Framework 5. We are [...]

Validation of Spring Boot RESTful Web Services with JSR 380

Introduction This article shows an example of how request bean validation is performed in Spring Boot RESTful Web Services. It uses Hibernate Validator and [...]

RESTful Web Services Authentication and Authorization

This article shows an example of how to implement security in RESTful Web Services with basic authentication and authorization. It uses HTTP basic [...]

RESTful Web Services Integration Testing with Spring Boot

This article shows an example of Integration Testing of RESTful Web Services using Spring Boot’s test framework support. It uses @SpringBootTest annotation [...]

RESTful Web Services Unit Testing with Spring Boot

This article explains how Unit Testing of RESTful Web Services is performed using Spring Boot Test framework. It uses MockMvc to provide Spring MVC [...]

RESTful Web Service CRUD Operations with Spring Boot

This article shows an example to create RESTful Web Service to perform CRUD operations using Spring Boot framework. We will be developing a complete Spring [...]

Spring Security 4 with Spring MVC and Hibernate

This article shows an example of how to use Spring Security 4 to secure Spring MVC application. UserDetailsService is implemented using Hibernate. It also [...]