Spring Boot Tutorials with Examples
Spring Boot Profiles Example
This page will walk through spring boot profiles example. Spring provides @Profile annotation using which we create profiles.
Spring Boot Logging Example
On this page we will provide spring boot logging example. Spring boot can use Logback, Log4J2, java util logging. By default spring boot uses Logback for its logging.
Spring Boot Change Context Path
This page will walk through how to change spring boot context path. There are many ways to change default context path. In spring boot web application the default context path is ("/").
Spring Boot Change Default Server Port
This page will walk through how to change spring boot default server port. When spring boot application starts, the embedded server such as Tomcat starts with a default port.
Spring Boot CommandLineRunner and ApplicationRunner Example
On this page we will provide spring boot CommandLineRunner and ApplicationRunner example. In spring boot application we can execute any task just before spring boot finishes its startup.
Spring Boot XML Configuration Example
On this page we will provide spring boot XML configuration example. We will create a REST web service with XML configuration. We will import our XML file in java configuration.
Spring Boot REST + JPA + Hibernate + MySQL Example
This page will walk through spring boot REST + JPA + hibernate + MySQL example. Here we will create a REST application that will perform CRUD operation using MySQL.
Spring Boot Custom Banner Example
On this page we will provide spring boot custom banner example. On the application startup, spring boot prints a default banner.
Spring Boot CLI Example
On this page we will provide spring boot CLI example. Spring boot CLI is Command Line Interface to run spring boot command.
Spring Boot Automatic Restart using Developer Tools with Maven
This page will walk through Spring boot automatic restart using developer tools with maven. When our application uses spring boot developer tools then it will automatically restart the server and refresh the page on browser.
Spring Boot Getting Started using Maven and Gradle with Eclipse
This page will walk through Spring boot getting started using maven and gradle with eclipse. Using Spring boot we can create standalone and production grade spring applications and that will be ready to run.