Springboot (1) - Overview

table of Contents

What is springboot

The advantage Springboot

SpringBoot shortcomings


One: What is springboot

Springboot is Spring subprojects under the open-source organization, is a one-stop solution for Spring components, mainly to simplify the difficulty of using Spring, Jane, heavy configuration, offers a variety of starters, developers can quickly get started. Today, java developers tend to be more Springboot solve javaEE one-stop solution , while Springcloud distributed overall solution. Currently Springboot official website has been updated value 2.x, so this series of articles is based on the latest version 2.x want to write.

springboot official website: http: //projects.spring.io/spring-boot/

GitHub springboot Source Address: https://github.com/spring-projects/spring-boot

Two: Springboot advantage

  • Operate independently

Spring Boot and a variety of embedded servlet container, Tomcat, Jetty, and now no longer need to deploy war package labeled container, Spring Boot labeled jar package as long as an executable can be run independently, all dependencies are in a jar packets.

  • Simplified configuration

spring-boot-starter-web starts automatically depending on other components, Jane less maven configuration.

  • Automatic Configuration

Spring Boot can class according to the class in the current path, jar to automatically configure the bean package, such as adding a spring-boot-starter-web can have a web-start function, no additional configuration.

  • XML configuration and no code generation

Spring Boot configuration process without code generation, XML configuration file does not need to complete all the configuration work, all this is done by means of the condition notes, this is one of the core functions of Spring4.x.

  • Application Monitoring

Spring Boot offers a range of services and applications can be monitored endpoints, do health testing.

Three: the shortcomings of SpringBoot

Spring Boot While it is easy to get started, but if you do not understand its core technology and processes, so once encountered the problem is very difficult, but now the solution is not a lot, need a perfect process.

                         No more public on the 1st java java actual project data, technical work. More importantly, the little ape is willing to be a friend you programmed the road! 

Intention to write every article, really treat every reader

Articles starting address: www.javayihao.top

No public debut: java One

Guess you like

Origin www.cnblogs.com/javayihao/p/11806813.html