This is the second tutorial about Spring Boot and MVC. In the first tutorial we have learnt how to create a simple MVC applicaiton with Spring Boot and ThymeLeaf for the view: Creating an MVC application using Spring Boot. In this tutorial we will enhance our example with REST Controller so that our application can be accessed also with REST API.
admin
Configuring Spring Boot authentication using In-memory and Database providers
In this tutorial we will learn how to secure Spring Boot Web applications using different security providers from the default Security user/password to In-Memory Security. Finally we will switch to Database authentication using mysql as a database.
Using the HAL console to test Spring Boot REST Services
The HAL Browser is a web application that you can include in your REST project to allow simple management of your resources.
4 ways to bootstrap a Spring Boot Application
There are several ways to bootstrap a Spring Boot standalone application. One way to do it is by implementing the … Read more
How to use Spring in Spring Boot applications
If you have Spring applications, using several XML configuration files, you can still integrate them with Spring Boot. Let’s see how in this tutorial.
Testing Spring Boot applications with MockMvc
In this tutorial we will learn how we can add unit testing to our basic Spring Boot application that we have discussed in this tutorial Using SpringBoot with JPA tutorial
Spring Boot CLI Commands
The Spring Boot CLI is a powerful tool to create/manage your projects. By executing the command with the ‘–help’ parameter, … Read more
Passing Command Line Arguments in Spring Boot applications
Spring Boot has a quite sophisticated environment variable and config properties management. Using the @Value Annotation In general terms, you … Read more
How to change Spring Boot default Banner
You should have noticed that when you run a Spring Boot application a banner is displayed at the beginning of … Read more
Configuring Spring Boot to package applications as WAR
The default packaging for Spring boot applications is jar which contains both the business classes and the embedded Web server. … Read more