SpringBoot Chapter One: SpringBoot Profile

(This is just a personal study notes recorded, where, if write error, it may be noted, will make changes)

First, what is SpringBoot?

SpringBoot it is not in itself provide the core characteristics of the spring frameworks and extensions, just for quick, agile develop a new generation spring-based application framework, that is to say, it is not used to replace spring solutions, but and closely integrated tools for spring framework spring lift away the experience of developers, while springBoot integrates a large number of popular third-party library configuration, for example: Jackson, jdbc, MongoDB, Redis, mail and so on.

springBoot spring to simplify application development, agreed greater than the configured, from simple to complicated, Just run will be able to create a stand-alone product level application, SpringBoot spring is the integration of technology station.

Background: heavy development J2EE, various configurations, low development efficiency, complex deployment process, third-party technology integration difficult.

Two, springBoot advantages

  • Quickly create a stand-alone spring project ( carried out by packing into a jar wrapped in cmd by Java -jar command-line operation ) as well as integration with the mainstream framework.
  • Using an embedded servlet container, labeled as war without having the application package.
  • It depends on the version control automatic starters.
  • A large number of auto-configuration, simplifying development, can also modify the default values.
  • No configuration xml, no code entered into force, out of the box.
  • Application Monitoring quasi-production operating environment.
  • Natural integration with the cloud

Third, the core springBoot dependent jar package

  •  spring-boot-starter: Spring Boot initiator core, comprising the automatic configuration, and logging YAML
  • spring-boot-starter-aop: AOP-Oriented Programming features, including spring-aop and AspecJ
  • spring-boot-starter-cache: Cache abstract Spring's support
  • spring-boot-starter-artermis: support JMS (Java Message Service) API for by Apache Artemis
  • spring-boot-starter-data-jpa: PSD 支持
  • spring-boot-starter-data-solr: support for Apache Solr search platform, including spring-data-solr
  • spring-boot-starter-freemarker: support FreeMarker template engine
  • spring-boot-starter-jdbc: supports JDBC database
  • spring-boot-starter-Redis: Redis key storage database support, including spring-redis
  • spring-boot-starter-security: 支持spring-security
  • spring-boot-starter-thymeleaf: Support Thymeleaf template engine, including integration with Spring
  • spring-boot-starter-web: supports full-stack web development, including tomcat and Spring-WebMVC
  • spring-boot-starter-log4j: Log4J logging framework supports
  • spring-boot-starter-logging: introducing Spring Boot default log frame Logback
Released six original articles · won praise 1 · views 1191

Guess you like

Origin blog.csdn.net/weixin_44754813/article/details/104620368