3.1.5. Starters
Starter是一系列便利依赖描述符,你可以在你的应用中include。一站式商店,免去例子代码查看之苦。例如:如果你打算开始使用Spring和JPA来做数据库访问,就包括:spring-boot-starter-data-jpa就可以了。
What s in a name
官方的starter遵循着相似的name模式:spring-boot-starter-*。*是可变的特定部分。在ide可以得到一些代码提示的支持。
第三方的starter不得以spring-starter开头。
在 org.springframework.boot组下面有以下的starter
| 名字 | 描述 |
|
| Core starter, including auto-configuration support, logging and YAML 核心starter,包括自动配置支持,日志和YAML |
| Starter for JMS messaging using Apache ActiveMQ 使用Apache ActiveMQ的JMS消息 | |
| Starter for using Spring AMQP and Rabbit MQ 使用Spring AMQP和Rabbit MQ | |
| Starter for aspect-oriented programming with Spring AOP and AspectJ 使用Spring AOP and AspectJ | |
| Starter for JMS messaging using Apache Artemis | |
| Starter for using Spring Batch | |
| Starter for using Spring Framework’s caching support | |
| Starter for using Cassandra distributed database and Spring Data Cassandra | |
| Starter for using Cassandra distributed database and Spring Data Cassandra Reactive | |
| Starter for using Couchbase document-oriented database and Spring Data Couchbase | |
| Starter for using Couchbase document-oriented database and Spring Data Couchbase Reactive | |
| Starter for using Elasticsearch search and analytics engine and Spring Data Elasticsearch | |
| Starter for using Spring Data JDBC 使用Spring Data JDBC | |
| Starter for using Spring Data JPA with Hibernate | |
| Starter for using Spring Data LDAP | |
| Starter for using MongoDB document-oriented database and Spring Data MongoDB | |
| Starter for using MongoDB document-oriented database and Spring Data MongoDB Reactive | |
| Starter for using Neo4j graph database and Spring Data Neo4j | |
| Starter for using Spring Data R2DBC | |
| Starter for using Redis key-value data store with Spring Data Redis and the Lettuce client | |
| Starter for using Redis key-value data store with Spring Data Redis reactive and the Lettuce client | |
| Starter for exposing Spring Data repositories over REST using Spring Data REST | |
| Starter for using the Apache Solr search platform with Spring Data Solr. Deprecated since 2.3.9 | |
| Starter for building MVC web applications using FreeMarker views | |
| Starter for building MVC web applications using Groovy Templates views | |
| Starter for building hypermedia-based RESTful web application with Spring MVC and Spring HATEOAS | |
| Starter for using Spring Integration | |
| Starter for using JDBC with the HikariCP connection pool 用HikariCP连接池使用JDBC. | |
| Starter for building RESTful web applications using JAX-RS and Jersey. An alternative to | |
| Starter for using jOOQ to access SQL databases. An alternative to | |
| Starter for reading and writing json 用于读写json | |
| Starter for JTA transactions using Atomikos | |
| Starter for JTA transactions using Bitronix. Deprecated since 2.3.0 | |
| Starter for using Java Mail and Spring Framework’s email sending support | |
| Starter for building web applications using Mustache views | |
| Starter for using Spring Security’s OAuth2/OpenID Connect client features | |
| Starter for using Spring Security’s OAuth2 resource server features | |
| Starter for using the Quartz scheduler | |
| Starter for building RSocket clients and servers | |
| Starter for using Spring Security 使用Spring Security | |
| Starter for testing Spring Boot applications with libraries including JUnit Jupiter, Hamcrest and Mockito | |
| Starter for building MVC web applications using Thymeleaf views 使用Thymeleaf 视图引擎 | |
| Starter for using Java Bean Validation with Hibernate Validator | |
| Starter for building web, including RESTful, applications using Spring MVC. Uses Tomcat as the default embedded container 最常用的,构建web包括RESTful应用,使用SpringMVC 使用Tomcat作为默认的嵌入式容器。 | |
| Starter for using Spring Web Services 使用Spring Web Services web服务 | |
| Starter for building WebFlux applications using Spring Framework’s Reactive Web support | |
| Starter for building WebSocket applications using Spring Framework’s WebSocket support | |
| 生产环境:spring-boot-starter-actuator | Starter for using Spring Boot’s Actuator which provides production ready features to help you monitor and manage your application 使用Spring Boot’s Actuator,本人翻译为审计,可以提供现成的功能去帮助你监控和管理你的应用 |
|
| Starter for using Jetty as the embedded servlet container. An alternative to |
| Starter for using Log4j2 for logging. An alternative to
| |
| Starter for logging using Logback. Default logging starter 使用Logback.也是默认的日志starter | |
| Starter for using Reactor Netty as the embedded reactive HTTP server. | |
| Starter for using Tomcat as the embedded servlet container. Default servlet container starter used by
| |
| Starter for using Undertow as the embedded servlet container. An alternative to
| |
A

511

被折叠的 条评论
为什么被折叠?



