Home >Java >javaTutorial >Detailed explanation of Spring Boot in java
Spring Boot is a new framework provided by the Pivotal team. It is designed to simplify the initial construction and development process of new Spring applications. The following is an introduction to spring boot related knowledge through this article. Friends who need it can refer to it
1. What is SpringBoot
Spring Boot is a brand new product provided by the Pivotal team A framework designed to simplify the initial setup and development of new Spring applications. The framework uses a specific way to configure,
, so that developers no longer need to define boilerplate configurations. In this way, Spring Boot strives to become a leader in the booming field of rapid application development.
2.SpringBoot features
1). Create an independent Spring project
2).Built-in Tomcat and Jetty containers
3). Provide a starter POMs to simplify Maven configuration
4). Provide a series of non-functional features common in large projects, such assecurity, indicators, health detection, external configuration Wait
5). There is no code generation and xmlconfiguration file
3. SpringBoot running environment
The latest version of Spring Boot can run in a Java6+ environment, but Spring officially recommends using Java8.
4.Servlet Container
Name | Servlet Version |
---|---|
Tomcat 8.5 |
3.1 |
##Jetty 9.4 | 3.1 |
Undertow 1.3 | 3.1 |
5.SpringBoot支持哪些应用
Table 1》. spring Boot application starters
Name | Description |
---|---|
|
Starter for building MVC web applications using Thymeleaf views |
|
Starter for using Couchbase document-oriented database and Spring Data Couchbase |
|
Starter for JMS messaging using Apache Artemis |
|
Starter for using Spring Web Services |
|
Starter for using Java Mail and Spring Framework's email sending support |
|
Starter for using Redis key-value data store with Spring Data Redis and the Jedis client |
|
Starter for using MongoDB document-oriented database and Spring Data MongoDB Reactive |
|
Starter for building web, including RESTful, applications using Spring MVC. Uses Tomcat as the default embedded Container |
|
Starter for JMS messaging using Apache ActiveMQ |
|
Starter for using Elasticsearch search and analytics engine and Spring Data Elasticsearch |
|
Starter for using Spring Integration |
|
Starter for testing Spring Boot applications with libraries including JUnit, Hamcrest and Mockito |
|
Starter for building WebFlux applications using Spring Framework's Reactive Web support |
|
Starter for using JDBC with the Tomcat JDBC connection pool |
|
Starter for building web applications using Spring Mobile |
|
Starter for using Java Bean Validation with hibernate Validator |
|
Starter for building hypermedia-based RESTful web application with Spring MVC and Spring HATEOAS |
|
Starter for building RESTful web applications using JAX-RS and Jersey. An alternative to |
|
Starter for using Neo4j graph database and Spring Data Neo4j |
|
Starter for using Spring Data LDAP |
|
Starter for building WebSocket applications using Spring Framework's WebSocket support |
|
Starter for aspect-oriented programming with Spring AOP and AspectJ |
|
Starter for using Spring AMQP and Rabbit MQ |
|
Starter for using Cassandra distributed database and Spring Data Cassandra |
|
Starter for using Spring Social Facebook |
|
Starter for JTA transactions using Atomikos |
|
Starter for using Spring Security |
|
Starter for building MVC web applications using Mustache views |
|
Starter for using Spring Data JPA with Hibernate |
|
Core starter, including auto-configuration support, logging and YAML |
|
Starter for building MVC web applications using Groovy Templates views |
|
Starter for building MVC web applications using FreeMarker views |
|
Starter for using Spring Batch |
|
Stater for using Spring Social LinkedIn |
|
Starter for using Spring Framework's caching support |
|
Starter for using the Apache Solr search platform with Spring Data Solr |
|
Starter for using MongoDB document-oriented database and Spring Data MongoDB |
|
Starter for using jOOQ to access SQL databases. An alternative to |
|
Spring Boot Narayana JTA Starter |
|
Starter for using Spring Cloud Connectors which simplifies connecting to services in cloud platforms like Cloud Foundry and Heroku |
|
Starter for JTA transactions using Bitronix |
|
Starter for using Spring Social Twitter |
|
Starter for exposing Spring Data repositories over REST using Spring Data REST |
Table 2》. Spring Boot production starters
Name | Description |
---|---|
|
Starter for using Spring Boot's Actuator which provides production ready features to help you monitor and manage your application |
Table 3》. Spring Boot technical starters
Name | Description |
---|---|
|
Starter for using Undertow as the embedded servlet container. An alternative to |
|
Starter for using Jetty as the embedded servlet container. An alternative to |
|
Starter for using Reactor Netty as the embedded reactive HTTP server. |
|
Starter for logging using Logback. Default logging starter |
|
Starter for using Tomcat as the embedded servlet container. Default servlet container starter used by |
##spring-boot-starter-log4j2 | Starter for using Log4j2 for logging. An alternative to spring-boot-starter-logging |
1.
Java free video tutorialComprehensive analysis of Java annotationsAlibaba Java Development ManualThe above is the detailed content of Detailed explanation of Spring Boot in java. For more information, please follow other related articles on the PHP Chinese website!