The RestTemplate is a little helper class that makes calling web requests an easier. Instead of wrangling with protocols and transformation by ourselves, we get that out of the box by Spring MVC.
In your Spring MVC application, you will usually have at least one endpoint which accepts and ID as a path variable or request parameter, and often the next thing you will do is to load the model from your Spring Data repository. However, there is an easier way as you will see in a minute.
In this tutorial, I show you an easy way for handling pagination when you use Spring Data and Spring MVC in your application you might not be aware of.
Detecting mobiles is straight forward with Spring Boot when you know there’s a secret module that does the heavy lifting: Spring Mobile.
Uploading a file with Spring MVC is pretty easy, and it gets even easier when running in Spring Boot. However, it’s one of the tasks a developer does once in a while and therefore is pretty easy to forget. The page is a reminder for all of us.
When you are starting a new Spring Boot application today, you will probably want to use Java 8. However, it still can be tricky with certain frameworks when using new features like the Date and Time API (known as JSR-310).
Sometimes you still need to return XML in your Rest API for various reasons. When you build your API with Spring Boot and Spring MVC, it is a simple, easy task.