Advertisements

Spring Boot

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

Spring-Data-JPA-Projections
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 [...]