Spring Boot makes it quick and easy to create a Spring based applications.
P.S Tested with Spring Boot 2.1.2.RELEASE
1. Spring MVC or Web application.
- Spring Boot MVC Hello World Example – Thymeleaf
- Spring MVC Validation Example
- Spring MVC + Spring Security Example
- Spring MVC Form Handling Example
- Spring MVC Integration Test Example
- Spring MVC + Spring Security Example Need Update
- Spring MVC + Spring Security + login via database
- Spring MVC – Create a WAR file for deployment
- Kotlin + Spring MVC Example
2. Spring RESTful web service
- Spring REST Hello World Example
- Spring REST Validation Example
- Spring REST + Spring Security Example
- Spring REST Error Handling Example
- Spring REST Integration Test Example
- Kotlin + Spring REST Example
3. Spring WebFlux
- Spring WebFlux + Server-sent events example
- Spring WebFlux + Thymeleaf reactive example
- Spring WebFlux + Spring Security Example
- Spring WebFlux Integration Test Example
- Kotlin + Spring WebFlux Example
4. Externalized Configuration
- Spring Boot @ConfigurationProperties example
- Spring Boot YAML examples
- Spring Boot Profiles example
- Spring Boot Profile based properties and YAML example
5. Working with database
5.1 Spring Data JPA examples.
- Spring Boot + Spring data JPA
- Spring Boot + Spring data JPA + MySQL
- Spring Boot + Spring data JPA + PostgreSQL
5.2 Spring JDBC JdbcTemplate
examples.
- Spring Boot JDBC Examples
- Spring Boot JDBC Stored Procedure Examples
- Spring JdbcTemplate Querying Examples
- Spring JdbcTemplate Handle Large ResultSet
- Spring JdbcTemplate batchUpdate() Example
- Spring Boot JDBC Image BLOB Examples
need update
- Spring Boot + Spring Data JPA + Oracle example
- Spring Boot JDBC + Oracle database + Commons DBCP2 example
- Spring Boot JDBC + MySQL + HikariCP example
6. Logging
7. Security
8. Swagger
- Spring Boot Swagger 2 Example Using Springfox
- Spring Boot Microservices – Setting up Swagger with Spring Boot Application
- Spring Boot Microservices – Advanced Swagger Configuration with Spring Boot
FAQs
- Spring Boot Hello World example
- Spring Boot – How to send email via SMTP
- Spring Boot + JUnit 5 + Mockito
- Spring Boot Test – How to disable DEBUG and INFO logs
- Spring Boot Test unable to autowired MockMvc
- Spring Boot – Unable to find a @SpringBootConfiguration
- Spring Boot – How to init a Bean for testing
- Spring Test – How to test a JSON Array in jsonPath
- Spring Boot – Run code when the application starts
- Spring WebFlux Test – Timeout on blocking read for 5000 MILLISECONDS
- Spring Security – There is no PasswordEncoder mapped for the id “null”
- Spring Boot + Mockito – Unable to mock save method?
- Spring Boot + Mockito – when() requires an argument which has to be ‘a method call on a mock’.
- Spring Boot – Which main class to start
- Spring – How to read file from resources folder
Upgrading below tutorials to Spring Boot 2
P.S Tested on Spring Boot 1.4.x
- Spring Boot Hello World Example – Mustache
- Spring Boot Hello World Example – JSP
- Spring Boot Hello World Example Step By Step Using Maven And Eclipse
- Spring Boot + Spring Security + oAuth2 example
- Spring Boot non-web application example
- Spring Boot @ConfigurationProperties example
- Spring Boot SLF4J Logging example
- Spring Boot Ajax example
- Spring Boot file upload example – Ajax and REST
- Spring Boot file upload example
- Spring Boot – How to know which connection pool is used?
- Spring Boot + Spring Data MongoDB example
- Spring Boot + Spring Data JPA + Java 8 date and time (JSR310)
- Spring Boot – Show Hibernate SQL query
- Spring Boot – Jetty as embedded server
- Spring Boot – How to change Tomcat port
- Spring Boot – How to change Context Path
- Spring Boot – Custom Banner example
- Spring Boot – Configure maxSwallowSize in embedded Tomcat
- Intellij IDEA – Spring boot template reload is not working
- How to display all beans loaded by Spring Boot
- Spring Boot – How to disable the Spring logo banner
- Spring Boot web JSP – No Java compiler available
New Spring Boot articles
- Creating a Simple Spring Boot Application in IntelliJ IDEA
- Running Scheduled Jobs in Spring Boot
- Conditional Beans with Spring Boot
- Modularizing a Spring Boot Application
- Structuring and Testing Modules and Layers with Spring Boot
- Understanding Spring Boot @Configuration and @Bean Annotation
- Building a Multi-Module Spring Boot Application with Gradle
- Run Your Gradle Build Anywhere with the Gradle Wrapper
- Run Your Maven Build Anywhere with the Maven Wrapper
- What’s the Gradle Wrapper and Why Use it?
- 10 Tips to Use Gradle With IntelliJ IDEA
- Spring Boot REST API Example – Step-by-Step Guide
- VS Code for Spring Boot Java Development: Step by Step Guide
General Knowledge
Download Source Code
$ git clone https://github.com/favtuts/java-spring-boot-tutorials