You can find on this page almost all Spring Boot tutorials published on CodeJava.net, which are organized by category so you can quickly jump to the guides you're in need.

Spring Boot is a framework significantly simplifies development of Java applications that are based on Spring framework. Spring Boot allows you to create stand-alone, production-grade Spring-based applications running on an embedded server (Tomcat, Jetty or Undertow). It uses the concepts of starter dependencies and automatic configurations to reduce development time and increase productivity for developers.

Below are the following Spring Boot tutorials that help you easily and effectively develop Java applications with Spring framework and related technologies.

 

1. Getting Started with Spring Boot:

If you're new to Spring Boot, the following guides will help you get started firmly. You'll understand what Spring Boot is really about, how it differs from Spring framework. Then you can try to create and run your first, hello world Spring Boot application. I'll also guide you how to package a Spring Boot application into JAR and WAR file for deployment.

After that, it's worth to check how to create Maven modules for a Spring Boot project. You'll also learn how to read values from application configuration file, and how to execute some code upon startup.

 

2. Spring Boot Web Application Development:

Spring MVC simplifies development of Java web applications, and Spring Boot makes it even easier with automatic configuration and sensible defaults for web applications. In the following tutorials, I'll explain the differences between Spring MVC and Spring Boot, then guide you develop a Spring MVC application powered by Spring Boot, with both JSP and Thymeleaf template engine.

Then you can go further with a tutorial about accessing database with JDBC in a Spring MVC application. In addition, you'll find the tutorial about user registration and login a masterpiece.

 

3. Spring Boot and Database:

Spring Boot makes it easy to work with database. In the following tutorials, you'll learn how to connect to common relational database systems such as MySQL, SQL Server, Oracle, Postgres, H2, etc.

 

4. Spring Data JPA:

Spring Data JPA makes it easy to program with database and code data access layer that follows the Java Persistence API (JPA). In the following tutorials, you'll learn Spring Data JPA from the basics with EntityManager, and then dive deeper by developing Spring MVC applications that use Spring Data JPA for data access. I'll also cover some advanced topics like differences between persist and merge, custom repositories, native queriers, composite primary key mapping, etc.

 

5. Spring Boot Pagination & Search:

Though Spring Data JPA provides handly APIs that help developers implement pagination, sorting and filtering - interating the APIs in the view layer with a view template engine is challenging. Don't worry, the following guides will help you understand how to implement paging, sorting and filtering in your Spring MVC applications. In addition, I'll share with you how to implement full text search feature withy MySQL database.

 

6. Spring Boot Form Tutorials:

Form handling and validation is essential in any web applications. Check the following tutorials to learn how Spring MVC provides great support for form handling and validation with real-world code examples.

 

7. Spring Boot File Upload & Download:

The following tutorials help you implement file upload and download functionality in your Spring application. You'll learn using Spring Boot to handle upload of single and multiple files. In addition, there's a guide about uploading files to Amazon S3 in a Spring application.

 

8. Spring Boot RESTful WebServices - REST API Tutorials:

Spring MVC provides extensive support for developing RESTful webservices and REST APIs, and Spring Boot makes it even easier with auto configurations. In the following tutorials, you'll learn how to code REST APIs for CRUD operations, file download and file upload. You'll also find real-world code examples about validating API requests. And the tutorial about REST API unit testing is also essential for any API developers.

 

9. Spring Boot Developer Tools:

When developing Spring Boot applications using Java IDEs like Eclipse or IntelliJ, it's recommended to use Spring Boot Deveveloper Tools for your productivity, i.e. you will get automatic restart and reload features whenever you make changes to your code. Check the following guides to save your development time:

 

 

Spring Boot E-Commerce Ultimate Course

Learn to Build a complete shopping website using Java, Spring Boot, Thymeleaf, Bootstrap, jQuery and MySQL database

 

10. Spring Boot Security:

Spring Security provide extensive APIs that help developer secure Java web applications quickly, following security best practices. Spring Boot makes securing applications even easier with auto configurations and sensible defaults. The following tutorials are designed to help you get started with Spring Security easily: you'll learn how to add login form with credentials in memory or in database, and go further by implementing user authentication and authorization with custom roles or authorities.

Because of the high demand for learning Spring Security, I published a separate Spring Security Tutorials series.

 

11. Spring Boot Logging:

In the following posts, I'll help you understand the fundamentals of logging in Spring Boot application, and then you'll learn how to use Logback and Log4j in your projects.

 

12. Spring Boot Export Data:

Exporting data to CSV, Excel, PDF,... is essential function of business applications. You can find in the following articles code examples and sample projects that demonstrate how to code export data function in Spring Boot applications.

 

13. Spring Boot E-mail Sending:

If your applications need email sending functionality, you can use Spring Mail which is a wrapper of JavaMail API - making it easier for implementing mailing features. In the following tutorials, you'll see how to send emails with plain text, HTML, inline images and attachments in your Spring Boot applications. I'll also share with you some real-word examples about email verification function for user registration.

 

14. Spring Boot Application Deployment:

If you want to have your Spring applications go live on the Internet, consider deployment on cloud services like Heroku or Amazon Web Services (AWS). You can find in the following articles the exact steps to deploy your Spring applications with database on Heroku and AWS (with Elastic Beanstalk).

 

15. Error and Exception Handling in Spring Boot:

Your applications should display user-friendly error messages, not raw technical ones. Check the following guides to learn how to handle exception and error in your Spring Boot applications properly.

 

16. Other Spring Boot Tutorials

The following tutorials do not fall into any categories listed above.

 

If you prefer watching videos, check this playlist on YouTube: Spring Boot Tutorials

 

References:

 


About the Author:

is certified Java programmer (SCJP and SCWCD). He began programming with Java back in the days of Java 1.4 and has been passionate about it ever since. You can connect with him on Facebook and watch his Java videos on YouTube.