What is starter in Spring boot

Source: Internet
Author: User
Tags jboss log4j

For example, if we were to introduce support for Web MVC in spring boot, we would usually introduce this module spring-boot-starter-web, which, if unpacked, would find nothing in it and only defined some pom dependencies.

After study, starter is mainly used to simplify the use of dependency. For example, when we did MVC to introduce the log component, then we need to find log4j version, and then introduced, now with starter, after the direct use of this, log4j automatically introduced, do not care about the version of these issues.

Partial Starters Dependency:

on
Starter (Group ID:org.springframework.boot) delivery relies
Spring-boot-starter-log4j2 Org.apache.logging.log4j:log4j-slf4j-impl
Org.apache.logging.log4j:log4j-api
Org.apache.logging.log4j:log4j-core
Org.slf4j:jcl-over-slf4j
Org.slf4j:jul-to-slf4j
Spring-boot-starter-logging Ch.qos.logback:logback-classic
Org.slf4j:jcl-over-slf4j
Org.slf4j:jul-to-slf4j
Org.slf4j:log4j-over-slf4j
Spring-boot-starter-mail Org.springframework.boot:spring-boot-starter
Org.springframework:spring-context
Org.springframework:spring-context-support
Com.sun.mail:javax.mail
Spring-boot-starter-mobile Org.springframework.boot:spring-boot-starter
Org.springframework.boot:spring-boot-starter-web
Org.springframework.mobile:spring-mobile-device
Spring-boot-starter-mustache Org.springframework.boot:spring-boot-starter
Org.springframework.boot:spring-boot-starter-web
Com.samskivert:jmustache
spring-boot-starter-redis org.springframework.boot: Spring-boot-starter
Org.springframework.data:spring-data-redis
Redis.clients:jedis
spring-boot-starter-remote-shell org.springframework.boot: Spring-boot-starter
Org.springframework.boot:spring-boot-starter-actuator
Org.crashub:crash.cli
ORG.CRASHUB:CRASH.CONNECTORS.SSH (excludes Org.codehaus.groovy:groovy-all)
Org.crashub: Crash.connectors.telnet (excludes Javax.servlet:servlet-api, log4j:log4j, commons-logging:commons-logging)
Org.crashub:crash.embed.spring (excludes Org.springframework:spring-web, Org.codehaus.groovy:groovy-all)
Org.crashub:crash.plugins.cron (excludes Org.codehaus.groovy:groovy-all)
Org.crashub:crash.plugins.mail ( Excludes Org.codehaus.groovy:groovy-all)
Org.crashub:crash.shell (excludes Org.codehaus.groovy:groovy-all)
Org.codehaus.groovy:groovy
Spring-boot-starter-security Org.springframework.boot:spring-boot-starter
Org.springframework:spring-aop
Org.springframework.security:spring-security-config
Org.springframework.security:spring-security-web
Spring-boot-starter-social-facebook Org.springframework.boot:spring-boot-starter
Org.springframework.boot:spring-boot-starter-web
Org.springframework.social:spring-social-config
Org.springframework.social:spring-social-core
Org.springframework.social:spring-social-web
Org.springframework.social:spring-social-facebook
Spring-boot-starter-social-linkedin Org.springframework.boot:spring-boot-starter
Org.springframework.boot:spring-boot-starter-web
Org.springframework.social:spring-social-config
Org.springframework.social:spring-social-core
Org.springframework.social:spring-social-web
Org.springframework.social:spring-social-linkedin
Spring-boot-starter-social-twitter Org.springframework.boot:spring-boot-starter
Org.springframework.boot:spring-boot-starter-web
Org.springframework.social:spring-social-config
Org.springframework.social:spring-social-core
Org.springframework.social:spring-social-web
Org.springframework.social:spring-social-twitter
Spring-boot-starter-test Junit:junit
Org.mockito:mockito-core
Org.hamcrest:hamcrest-core
Org.hamcrest:hamcrest-library
Org.springframework:spring-core (excludes commons-logging:commons-logging)
Org.springframework:spring-test
Spring-boot-starter-thymeleaf Org.springframework.boot:spring-boot-starter
Org.springframework.boot:spring-boot-starter-web
Org.thymeleaf:thymeleaf-spring4
Nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect
Spring-boot-starter-tomcat Org.apache.tomcat.embed:tomcat-embed-core
Org.apache.tomcat.embed:tomcat-embed-el
Org.apache.tomcat.embed:tomcat-embed-logging-juli
Org.apache.tomcat.embed:tomcat-embed-websocket
Spring-boot-starter-undertow Io.undertow:undertow-core
Io.undertow:undertow-servlet (excludes Org.jboss.spec.javax.servlet:jboss-servlet-api_3.1_spec)
Io.undertow:undertow-websockets-jsr
Javax.servlet:javax.servlet-api
Org.glassfish:javax.el
Spring-boot-starter-validation Org.springframework.boot:spring-boot-starter
Org.apache.tomcat.embed:tomcat-embed-el
Org.hibernate:hibernate-validator
Spring-boot-starter-velocity Org.springframework.boot:spring-boot-starter
Org.springframework.boot:spring-boot-starter-web
Commons-beanutils:commons-beanutils
Commons-collections:commons-collections
Commons-digester:commons-digester
Org.apache.velocity:velocity
Org.apache.velocity:velocity-tools
Org.springframework:spring-context-support
Spring-boot-starter-web Org.springframework.boot:spring-boot-starter
Org.springframework.boot:spring-boot-starter-tomcat
Org.springframework.boot:spring-boot-starter-validation
Com.fasterxml.jackson.core:jackson-databind
Org.springframework:spring-web
Org.springframework:spring-webmvc
Spring-boot-starter-websocket Org.springframework.boot:spring-boot-starter
Org.springframework.boot:spring-boot-starter-web
Org.springframework:spring-messaging
Org.springframework:spring-websocket
Spring-boot-starter-ws Org.springframework.boot:spring-boot-starter
Org.springframework.boot:spring-boot-starter-web ORG.SPRINGFRAMEWORK:SPRING-JMS
Org.springframework:spring-oxm
Org.springframework.ws:spring-ws-core
Org.springframework.ws:spring-ws-support

Reference:

1190000004319673?_ea=568367

Http://www.cnblogs.com/cz-xjw/p/6632402.html

http://blog.csdn.net/chszs/article/details/50610474

http://blog.csdn.net/flygoa/article/details/68484439

http://www.jianshu.com/p/85460c1d835a

Http://www.jianshu.com/p/3754c0a5de90

What is starter in Spring boot

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.