Spring REST

Related Tags

Tutorials

Spring Boot

Spring Boot Tutorial

Learn Spring Boot with the following in-depth tutorials, covering from basic to advanced concepts such as packaging and monitoring.

Spring Boot Request Validation for Body and Parameters

Learn how Spring Boot checks the JSON body, path variables and query parameters of a REST request. See which exception Spring throws, how to return clear field errors, and how to validate nested objects and lists, use groups, write a custom rule and test with MockMvc on Spring Boot 4.1.1.

Spring REST JSON Response Example

In this spring rest json example, we will learn to write RESTFul webservices capable of returning JSON for resources using MappingJackson2JsonView.

Produce XML Response with Spring WebMVC Controller

In this Spring REST XML example, I am writing hello world example for REST APIs using Spring REST features. In this example, I will be creating two APIs which will return XML representation of resources. 1. Maven Dependencies Let’s start with runtime dependencies which you will need to write these …

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions and frequently asked interview questions.