Say in front:
The spring boot has also been a preliminary understanding, but spring boot is also a lot of application module POM configuration, and so on a series of things, need to remember
Make a record so you can look back when you don't remember.
1. Spring Boot Module List
Referring to a diagram of the online blog, you can see that spring boot actually contains a lot of child modules, the previous example used in the Spring-boot-starter-web
The specific list is as follows:
1) Spring-boot-starter This is the core launcher for spring boot, which contains the automatic configuration log and Yaml.
2) Spring-boot-starter-actuator helps monitor and manage applications.
3) SPRING-BOOT-STARTER-AMQP supports the AMQP protocol (Advanced Message Queuing Protocol) through Spring-rabbit.
4) SPRING-BOOT-STARTER-AOP supports aspect-oriented programming i.e. AOP, including SPRING-AOP and ASPECTJ.
5) Spring-boot-starter-artemis supports the JMS API via Apache Artemis (Java Message Service API).
6) Spring-boot-starter-batch supports spring batch, including the HSQLDB database.
7) Spring-boot-starter-cache supports spring's cache abstraction.
8) Spring-boot-starter-cloud-connectors supports spring cloud connectors, simplifying the connection of services on cloud platforms such as cloud Foundry or Heroku.
9) Spring-boot-starter-data-elasticsearch supports Elasticsearch search and analysis engine, including Spring-data-elasticsearch.
Spring-boot-starter-data-gemfire supports GemFire distributed data storage, including Spring-data-gemfire.
One) SPRING-BOOT-STARTER-DATA-JPA supports JPA (Java Persistence API), including SPRING-DATA-JPA) spring-orm) hibernate.
SPRING-BOOT-STARTER-DATA-MONGODB supports MongoDB data, including Spring-data-mongodb.
Spring-boot-starter-data-rest through SPRING-DATA-REST-WEBMVC, supports exposing the spring data warehouse through rest. ) SPRING-BOOT-STARTER-DATA-SOLR BranchThe Apache SOLR search platform, including SPRING-DATA-SOLR.
Spring-boot-starter-freemarker supports the Freemarker template engine.
Spring-boot-starter-groovy-templates supports the groovy template engine.
Spring-boot-starter-hateoas supports Hateoas-based restful Web services through Spring-hateoas.
SPRING-BOOT-STARTER-HORNETQ supports JMS through HORNETQ.
Spring-boot-starter-integration supports a common spring-integration module.
SPRING-BOOT-STARTER-JDBC supports the JDBC database.
Spring-boot-starter-jersey supports the Jersey RESTful Web services Framework.
Spring-boot-starter-jta-atomikos supports JTA Distributed transaction processing through Atomikos.
Spring-boot-starter-jta-bitronix) supports JTA Distributed transaction processing through Bitronix.
Spring-boot-starter-mail supports Javax.mail modules.
Spring-boot-starter-mobile supports Spring-mobile.
Spring-boot-starter-mustache supports the Mustache template engine.
Spring-boot-starter-redis supports the Redis key-value store database, including Spring-redis.
Spring-boot-starter-security supports spring-security. Spring-boot-starter-social-facebook support Spring-social-facebook) Spring-boot-starter-social-linkedin Support Pring-social-linkedin) Spring-boot-starter-social-twitter support Pring-social-twitter) Spring-boot-starteR-test supports regular test dependencies, including JUnit) hamcrest) Mockito and spring-test modules.
Spring-boot-starter-thymeleaf supports the Thymeleaf template engine, including integration with spring.
Spring-boot-starter-velocity supports the Velocity template engine.
Spring-boot-starter-web s supports full-stack web development, including Tomcat and SPRING-WEBMVC.
Spring-boot-starter-websocket supports WebSocket development. PNS) SPRING-BOOT-STARTER-WS supports spring Web Services.
The Spring Boot Application Launcher is also available in 2 production environments, as follows: 1) Spring-boot-starter-actuator adds features for product-on-line correlation, such as measurement and monitoring.
2) Spring-boot-starter-remote-shell added support for remote SSH shell.
Finally, the Spring boot Application Launcher also has some replacement technology initiators, as follows: 1) Spring-boot-starter-jetty introduced the jetty HTTP engine (to replace Tomcat).
2) SPRING-BOOT-STARTER-LOG4J supports log4j log framework.
3) spring-boot-starter-logging introduced the spring boot default log framework logback.
4) Spring-boot-starter-tomcat introduced the Spring boot default HTTP engine tomcat. 5) Spring-boot-starter-undertow introduced the Undertow HTTP engine (to replace Tomcat).
The dependencies in the list above need to be configured according to the respective Business Project's relevant reference:
Configuration is relatively simple, add <dependency> in Pom.xml, as follows:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId> spring-boot-starter-jdbc</artifactid>
</dependency>
<dependency>
<groupId> org.springframework.boot</groupid>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>