Spring Boot 简介(入门篇)
1.什么是springboot
spring boot是由pivotal团队提供的全新框架,其设计目的是用来简化新spring应用的初始搭建以及开发过程。该框架使用了特定的方式来进行配置,
从而使开发人员不再需要定义样板化的配置。通过这种方式,spring boot致力于在蓬勃发展的快速应用开发领域(rapid application development)成为领导者。
2.springboot特性
1).创建独立的spring项目
2).内置tomcat和jetty容器
3).提供一个starter poms来简化maven配置
4).提供了一系列大型项目中常见的非功能性特性,如安全、指标,健康检测、外部配置等
5).完全没有代码生成和xml配置文件
3.springboot运行环境
spring boot最新版可以运行在java6+的环境下,但是spring官方建议使用java8。
4.servlet 容器
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 |
|
starter for using log4j2 for logging. an alternative to |
以上所述是小编给大家介绍的spring boot 简介(入门篇),希望对大家有所帮助
下一篇: ASP.NET刷新页面的几种方法详解