1、Spring Boot简介

什么是SpringBoot

Spring Boot是Spring社区发布的一个开源项目,旨在帮助开发者快速并且更简单的构建项目。大多数SpringBoot项目只需要很少的配置文件。

SpringBoot特性

  • 创建独立的Spring项目
  • 内置Tomcat和Jetty容器
  • 提供一个starter POMs来简化Maven配置
  • 提供了一系列大型项目中常见的非功能性特性,如安全、指标,健康检测、外部配置等
  • 完全没有代码生成和xml配置文件

SpringBoot运行环境

Spring Boot最新版可以运行在Java6+的环境下,但是Spring官方建议使用Java8。

Servlet 容器

NameServlet VersionJava Version
Tomcat 83.1Java 7+
Tomcat 73.0Java 6+
Jetty 93.1Java 7+
Jetty 83.0Java 6+
Undertow 1.13.1Java 7+

SpringBoot支持哪些应用

使用SpringBoot可以快速创建普通Java项目和Web项目,以及其他项目。

Spring Boot application starters

NameDescription
spring-boot-starterThe core Spring Boot starter, including auto-configuration support, logging and YAML.
spring-boot-starter-actuatorProduction ready features to help you monitor and manage your application.
spring-boot-starter-amqpSupport for the “Advanced Message Queuing Protocol” via spring-rabbit.
spring-boot-starter-aopSupport for aspect-oriented programming including spring-aop and AspectJ.
spring-boot-starter-artemisSupport for “Java Message Service API” via Apache Artemis.
spring-boot-starter-batchSupport for “Spring Batch” including HSQLDB database.
spring-boot-starter-cacheSupport for Spring’s Cache abstraction.
spring-boot-starter-cloud-connectorsSupport for “Spring Cloud Connectors” which simplifies connecting to services in cloud platforms like Cloud Foundry and Heroku.
spring-boot-starter-data-elasticsearchSupport for the Elasticsearch search and analytics engine including spring-data-elasticsearch.
spring-boot-starter-data-gemfireSupport for the GemFire distributed data store including spring-data-gemfire.
spring-boot-starter-data-jpaSupport for the “Java Persistence API” including spring-data-jpa, spring-orm and Hibernate.
spring-boot-starter-data-mongodbSupport for the MongoDB NoSQL Database, including spring-data-mongodb.
spring-boot-starter-data-redisSupport for the REDIS key-value data store, including spring-data-redis.
spring-boot-starter-data-restSupport for exposing Spring Data repositories over REST via spring-data-rest-webmvc.
spring-boot-starter-data-solrSupport for the Apache Solr search platform, including spring-data-solr.
spring-boot-starter-freemarkerSupport for the FreeMarker templating engine.
spring-boot-starter-groovy-templatesSupport for the Groovy templating engine.
spring-boot-starter-hateoasSupport for HATEOAS-based RESTful services via spring-hateoas.
spring-boot-starter-hornetqSupport for “Java Message Service API” via HornetQ.
spring-boot-starter-integrationSupport for common spring-integration modules.
spring-boot-starter-jdbcSupport for JDBC databases.
spring-boot-starter-jerseySupport for the Jersey RESTful Web Services framework.
spring-boot-starter-jta-atomikosSupport for JTA distributed transactions via Atomikos.
spring-boot-starter-jta-bitronixSupport for JTA distributed transactions via Bitronix.
spring-boot-starter-mailSupport for javax.mail.
spring-boot-starter-mobileSupport for spring-mobile.
spring-boot-starter-mustacheSupport for the Mustache templating engine.
spring-boot-starter-securitySupport for spring-security.
spring-boot-starter-social-facebookSupport for spring-social-facebook.
spring-boot-starter-social-linkedinSupport for spring-social-linkedin.
spring-boot-starter-social-twitterSupport for spring-social-twitter.
spring-boot-starter-testSupport for common test dependencies, including JUnit, Hamcrest and Mockito along with the spring-testmodule.
spring-boot-starter-thymeleafSupport for the Thymeleaf templating engine, including integration with Spring.
spring-boot-starter-velocitySupport for the Velocity templating engine.
spring-boot-starter-webSupport for full-stack web development, including Tomcat and spring-webmvc.
spring-boot-starter-websocketSupport for WebSocket development.
spring-boot-starter-wsSupport for Spring Web Services.
  • 4
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

大扑棱蛾子

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值