English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Spring Boot provide many starters , which allows us to add jar to the classpath. Spring Boot built-in entry programmake development easier and faster. Spring Boot Startersis Dependency descriptor.
In the Spring Boot Framework, all starters follow a similar naming pattern: spring-boot-starter-* , where * represents a specific type of application. For example, if you want to use Spring and JPA for database access, you need to include in our pom.xml The file contains spring-boot-starter-data-jpa dependencies
We can also add third-party startup programs. But we do not use spring-boot-starter to include third-party dependencies. spring-boot-Starter is reserved for official Spring Boot components. Third-party startup programs start with the project name. For example, if the third-party project name is abc Then the dependency name will be abc-spring-boot-starter.
The Spring Boot Framework in org.springframework.boot The following application starters are provided under the group.
Name | Description |
spring-boot-starter-thymeleaf | It is used for building MVC Web applications with Thymeleaf views. |
spring-boot-starter-data-couchbase | It is used for Couchbase document-oriented database and Spring Data Couchbase. |
spring-boot-starter-artemis | It is used for JMS message passing with Apache Artemis. |
spring-boot-starter-web-services | It is used for Spring Web Services. |
spring-boot-starter-mail | It is used for supporting Java Mail and email sending through Spring Framework. |
spring-boot-starter-data-redis | It is used for Redis key-value data storage for Spring Data Redis and Jedis client. |
spring-boot-starter-web | It is used for building Web applications, including RESTful applications using Spring MVC. It uses Tomcat as the default embedded container. |
spring-boot-starter-data-gemfire | It is used for GemFire distributed data storage and Spring Data GemFire. |
spring-boot-starter-activemq | It is used in JMS message passing with Apache ActiveMQ. |
spring-boot-starter-data-elasticsearch | It is used for Elasticsearch search and analysis engine as well as Spring Data Elasticsearch. |
spring-boot-starter-integration | It is used for Spring integration. |
spring-boot-starter-test | It is used for testing Spring Boot applications with libraries such as JUnit, Hamcrest, and Mockito. |
spring-boot-starter-jdbc | It is used for JDBC with Tomcat JDBC connection pool. |
spring-boot-starter-mobile | It is used for building Web applications with Spring Mobile. |
spring-boot-starter-validation | It is used for Java Bean validation through Hibernate Validator. |
spring-boot-starter-hateoas | It is used to build hypermedia-based RESTful Web applications through Spring MVC and Spring HATEOAS. |
spring-boot-starter-jersey | It is used for using JAX-RS and Jersey are used to build RESTful Web applications. Instead of spring-boot-starter-web. |
spring-boot-starter-data-neo4j | used for Neo4j graph database and Spring Data Neo4j. |
spring-boot-starter-data-ldap | It is used for Spring Data LDAP. |
spring-boot-starter-websocket | It is used to build WebSocket applications. It uses Spring Framework's WebSocket support. |
spring-boot-starter-aop | It is used for aspect-oriented programming with Spring AOP and AspectJ. |
spring-boot-starter-amqp | It is used with Spring AMQP and Rabbit MQ. |
spring-boot-starter-data-cassandra | Used for Cassandra distributed database and Spring Data Cassandra. |
spring-boot-starter-social-facebook | It is used with Spring Social Facebook. |
spring-boot-starter-jta-atomikos | It is used for JTA transactions with Atomikos. |
spring-boot-starter-security | It is used with Spring Security. |
spring-boot-starter-mustache | It is used to build MVC web applications with Mustache views. |
spring-boot-starter-data-jpa | It is used with Hibernate for Spring Data JPA. |
spring-boot-starter | It is used for the core starter, including automatic configuration support, logging, and YAML. |
spring-boot-starter-groovy-templates | It is used to build MVC web applications with Groovy template views. |
spring-boot-starter-freemarker | It is used to build MVC web applications with FreeMarker views. |
spring-boot-starter-batch | It is used with Spring Batch. |
spring-boot-starter-social-linkedin | It is used with Spring Social LinkedIn. |
spring-boot-starter-cache | It is used for cache support in the Spring framework. |
spring-boot-starter-data-solr | It is used with Apache Solr search platform that comes with Spring Data Solr. |
spring-boot-starter-data-mongodb | It is used for MongoDB document-oriented database and Spring Data MongoDB. |
spring-boot-starter-jooq | It is used for jOOQ access to SQL databases. Replaces spring.-boot-starter-data-jpa or spring-boot-starter-jdbc |
spring-boot-starter-jta-narayana | It is used with Spring Boot Narayana JTA Starter. |
spring-boot-starter-cloud-connectors | Used with Spring Cloud Connector to simplify connections to services in cloud platforms such as Cloud Foundry and Heroku. |
spring-boot-starter-jta-bitronix | It is used for JTA transactions with Bitronix. |
spring-boot-starter-social-twitter | It is used with Spring Social Twitter. |
spring-boot-starter-data-rest | It is used to expose Spring Data repositories on REST using Spring Data REST. |
Name | Description |
spring-boot-starter-actuator | It is used for Spring Boot's Actuator, which provides production-ready features to help you monitor and manage your application. |
spring-boot-starter-remote-shell | It is used for CRaSH remote shell to monitor and manage your application through SSH. From1.5Not recommended for use at the beginning. |
Name | Description |
spring-boot-starter-undertow | Used for Undertow, as an embedded servlet container. Replaces spring-boot-starter-tomcat. |
spring-boot-starter-jetty | It is used for Jetty as an embedded servlet container. Replaces spring-boot-starter-tomcat. |
spring-boot-starter-logging | It is used for logging with Logback. The default logging starter. |
spring-boot-starter-tomcat | It is used for Tomcat, as an embedded servlet container. spring-boot-starter-The default servlet container starter used by spring web. |
spring-boot-starter-log4j2 | Used for Log4j2Perform logging. Replaces spring-boot-starter-logging. |