Introduction
Introduction
Spring Boot Tutorial provides basic and advanced concepts of Spring Framework.
Spring Boot is a Spring module that provides the RAD (Rapid Application
Development) feature to the Spring framework..
Along with the Spring Boot Framework, many other Spring sister projects help to
build applications addressing modern business needs. There are the following Spring
sister projects are as follows:
AD
AD
o Java 1.8
o Maven 3.0+
o Spring Framework 5.0.0.BUILD-SNAPSHOT
o An IDE (Spring Tool Suite) is recommended.
Web Development
AD
SpringApplication
1. public static void main(String[] args)
2. {
3. SpringApplication.run(ClassName.class, args);
4. }
Spring Boot uses events to handle the variety of tasks. It allows us to create factories
file that is used to add listeners. We can refer it to using the ApplicationListener key.
AD
Admin Support
Spring Boot provides the facility to enable admin-related features for the application.
It is used to access and manage applications remotely. We can enable it in the Spring
Boot application by using spring.application.admin.enabled property.
Externalized Configuration
Spring Boot allows us to externalize our configuration so that we can work with the
same application in different environments. The application uses YAML files to
externalize configuration.
Properties Files
Spring Boot provides a rich set of Application Properties. So, we can use that in the
properties file of our project. The properties file is used to set properties like server-
port =8082 and many others. It helps to organize application properties.
YAML Support
Type-safe Configuration
Logging
Spring Boot uses Common logging for all internal logging. Logging dependencies are
managed by default. We should not change logging dependencies if no
customization is needed.
Security
Spring Boot applications are spring bases web applications. So, it is secure by default
with basic authentication on all HTTP endpoints. A rich set of Endpoints is available to
develop a secure Spring Boot application.
Prerequisite
Before learning Spring Boot, you must have the basic knowledge of Spring
Framework.