An editor has performed a search and found that
sufficient sources exist to establish the subject's
notability. (June 2023) |
Original author(s) | Rod Johnson |
---|---|
Developer(s) | VMware |
Initial release | April 2014[1] |
Stable release | 3.3.1
[2]
/ 20 June 2024 |
Repository | |
Written in | Java |
Platform | Java EE |
Type | Application framework |
License | Apache License 2.0 |
Website |
spring |
Spring Boot is an open-source Java framework used for programming standalone, production-grade Spring-based applications with minimal effort. [3] Spring Boot is a convention-over-configuration extension for the Spring Java platform intended to help minimize configuration concerns while creating Spring-based applications. [4] [5] Most of the application can be preconfigured using Spring team's "opinionated view" [6] [7] of the best configuration and use of the Spring platform and third-party libraries.
It is widely used for building microservices, web applications, and other Java-based projects due to its ease of use and robustness.[ citation needed]
Spring Boot does not require manual configuration of the DispatcherServlet
, since it automatically configures the application based on the configuration it detects.
[16]
Spring Boot has a class SpringBootServletInitializer
, which is a specialization of the WebApplicationInitializer
.
[16] This SpringBootServletInitializer
is an out-of-the-box implementation of WebApplicationInitializer
, which eliminates the need for the developer to construct their own implementation of the WebApplicationInitializer
class.
[16]
The configuration properties for the Spring Boot application can be specified in the application.properties
or application.yml
file.
[16]
Examples of properties that can be included in this file include the server.port
and spring.application.name
properties.
[16]
Spring boot has an annotation, @SpringBootApplication
, which allows the Spring Boot application to autoconfigure third-party libraries and detected features found on the
classpath.
[16] As an example, the class that has the @SpringBootApplication
annotation can extend the SpringBootServerInitializer
class if the application is packaged and deployed as a
WAR file.
[16]
The @SpringBootApplication
annotation combines three Spring-specific annotations: @SpringBootConfiguration
, @EnableAutoConfiguration
and @ComponentScan
.
[17]
The @SpringBootConfiguration
annotation is a specialization of the Spring-specific @Configuration
annotation.
[17] The class with the @SpringBootConfiguration
is marked as the configuration class for the Spring Boot application.
[17]
The @EnableAutoConfiguration
annotation is Spring-specific annotation that enables the Spring Boot automatic configuration.
[17]
The Spring Boot Actuator allows for monitoring and management capabilities for the Spring Boot Application. [18] A major advantage of using the Spring Boot Actuator is that it implements a number of production-ready features without requiring the developer to construct their own implementations. [18]
If Maven is used as the build tool, then the spring-boot-starter-actuator
dependency can be specified in the pom.xml
configuration file.
[19]
Spring Boot has a number of existing Spring Framework Modules.
Spring Boot has integration with the Spring Security Module. The simplest way for integrating Spring Boot with Spring Security is to declare the starter dependency in the build configuration file. [20]
If Maven is used as the build tool, then the dependency with artifact ID spring-boot-starter-security
dependency can be specified in the pom.xml
configuration file.
[20]
By default, Spring boot provides embedded web servers (such as TomCat) out-of-the-box. [21] However, Spring Boot can also be deployed as a WAR file on a standalone WildFly application server. [22]
If Maven is used as the build tool, there is a wildfly-maven-plugin
Maven plugin that allows for automatic deployment of the generated WAR file.
[22]
An editor has performed a search and found that
sufficient sources exist to establish the subject's
notability. (June 2023) |
Original author(s) | Rod Johnson |
---|---|
Developer(s) | VMware |
Initial release | April 2014[1] |
Stable release | 3.3.1
[2]
/ 20 June 2024 |
Repository | |
Written in | Java |
Platform | Java EE |
Type | Application framework |
License | Apache License 2.0 |
Website |
spring |
Spring Boot is an open-source Java framework used for programming standalone, production-grade Spring-based applications with minimal effort. [3] Spring Boot is a convention-over-configuration extension for the Spring Java platform intended to help minimize configuration concerns while creating Spring-based applications. [4] [5] Most of the application can be preconfigured using Spring team's "opinionated view" [6] [7] of the best configuration and use of the Spring platform and third-party libraries.
It is widely used for building microservices, web applications, and other Java-based projects due to its ease of use and robustness.[ citation needed]
Spring Boot does not require manual configuration of the DispatcherServlet
, since it automatically configures the application based on the configuration it detects.
[16]
Spring Boot has a class SpringBootServletInitializer
, which is a specialization of the WebApplicationInitializer
.
[16] This SpringBootServletInitializer
is an out-of-the-box implementation of WebApplicationInitializer
, which eliminates the need for the developer to construct their own implementation of the WebApplicationInitializer
class.
[16]
The configuration properties for the Spring Boot application can be specified in the application.properties
or application.yml
file.
[16]
Examples of properties that can be included in this file include the server.port
and spring.application.name
properties.
[16]
Spring boot has an annotation, @SpringBootApplication
, which allows the Spring Boot application to autoconfigure third-party libraries and detected features found on the
classpath.
[16] As an example, the class that has the @SpringBootApplication
annotation can extend the SpringBootServerInitializer
class if the application is packaged and deployed as a
WAR file.
[16]
The @SpringBootApplication
annotation combines three Spring-specific annotations: @SpringBootConfiguration
, @EnableAutoConfiguration
and @ComponentScan
.
[17]
The @SpringBootConfiguration
annotation is a specialization of the Spring-specific @Configuration
annotation.
[17] The class with the @SpringBootConfiguration
is marked as the configuration class for the Spring Boot application.
[17]
The @EnableAutoConfiguration
annotation is Spring-specific annotation that enables the Spring Boot automatic configuration.
[17]
The Spring Boot Actuator allows for monitoring and management capabilities for the Spring Boot Application. [18] A major advantage of using the Spring Boot Actuator is that it implements a number of production-ready features without requiring the developer to construct their own implementations. [18]
If Maven is used as the build tool, then the spring-boot-starter-actuator
dependency can be specified in the pom.xml
configuration file.
[19]
Spring Boot has a number of existing Spring Framework Modules.
Spring Boot has integration with the Spring Security Module. The simplest way for integrating Spring Boot with Spring Security is to declare the starter dependency in the build configuration file. [20]
If Maven is used as the build tool, then the dependency with artifact ID spring-boot-starter-security
dependency can be specified in the pom.xml
configuration file.
[20]
By default, Spring boot provides embedded web servers (such as TomCat) out-of-the-box. [21] However, Spring Boot can also be deployed as a WAR file on a standalone WildFly application server. [22]
If Maven is used as the build tool, there is a wildfly-maven-plugin
Maven plugin that allows for automatic deployment of the generated WAR file.
[22]