SpringBoot Road (2) - the origin and status to SpringBoot

Today's headlines Search 三线城市程序员老陈video tutorials, or talk about technology and life, very welcome throat.

What is Spring Boot

Spring Boot by Pivotal team in the open source lightweight development framework released in April 2014, was released quickly became popular among developers around the world.

Spring Boot Spring to simplify the development and health, Boot meaning of the term is the quick start guide , and then use Spring Boot, development of Spring applications become very light and smooth.

The origin of Spring Boot

Are you tired of the tedious process of developing a Spring application's operation:

  • The introduction of various dependencies, and sometimes also need to address rely conflict. Not looking each dependent, it is on the way to replace dependence, feelings of irritability.
  • Written in a variety of configurations, web.xml configuration, Spring configuration, SpringMVC configuration. Project configuration often similar, no fun.
  • Sign up various components, ViewResolver, RestTemplate, DataSource. Project components are often stereotyped, sleepy.
  • Configuration container in the development environment, and deploy the project to test the container. It is not like the main method as a key to start it?

Pivotal team, the development team is the Spring Framework, is aware of these problems, so the introduction of Spring Boot. Spring Boot-based convention-over-configuration concept of the Spring application developers returning to simple, focused business logic, rather than tedious project configuration, operation.

The advantage of Spring Boot

Spring Boot Spring to simplify the development and health, it is indeed done:

  • Provide for application development scenarios starter module, integrated configuration dependent, add one by way of farewell coordinates manually.
  • Convention over configuration, providing default configuration convention, no longer need to write a variety of configuration files, only individualized configuration only requires manual settings.
  • For the class library automatically registered bean components, most scenes common components no longer need to manually register, bring the box.
  • Built servlet container, when developing a key operation. At the same time it can be packaged as a jar, after the command to start the deployment line.

After using Spring Boot, common configuration and components are ready, just start to develop it.

Spring Boot usage scenarios

Development of enterprise applications using Spring scene, you can use Spring Boot to accelerate project construction, development and testing process. Spring Boot-box qualities that are a great fit for today's popular microblogging service concept, now very popular Spring Cloud Spring Boot to use as the basis for the framework of a single micro-services.

Spring Boot Origin

Spring comes EJB complex and cumbersome, SpringBoot from Spring complex and cumbersome.

Under the first Spring ye come, long long ago, before long, long time, Java application development framework for enterprise-level official is EJB.

EJB I have not used, but I heard a very complicated, very complicated, in general I can think of, because I long ago used Struts1, compared to SpringMVC, indeed more cumbersome, multi-configuration, multi rules, usage and more, there is when programming a lot of time in the things that are written framework requires, rather than business logic.

So simple procedures should adhere to, should focus on business logic as much as possible, the god Rod Jahnson to come up with a lightweight frameworks such as Spring, and quickly sought after by developers of the world, until now.

Spring In fact, however, is also very troublesome, requires a lot of configuration, some configuration has nothing to do with the business logic is purely a template-driven configuration of the code. Well, since there are so many template code can not directly remove the template code, the contents of the configuration of the default configuration, when needed and then manually specify just fine.

So SpringBoot was born, it is to develop simple, out of the box, the lot of messy configuration uses the default method omits the manual configuration process.

To put it plainly SpringBoot is to simplify development of Spring born.

Spring Boot status to

SpringBoot now high status to, on the one hand because it is very simple, being used more and more front-line developers, and now most are using SpringBoot, so useless proposals also step up with them, compared to traditional Spring project indeed more easily, quickly and concisely who does not like it?

On the other hand, due to the rise of micro-services now, SpringBoot very concept of micro-fit service, each service is fast and convenient it is very small, SpringBoot is the case. So Spring family bucket micro-services framework such as Cloud, is based on the realization of SpringBoot.

High status to be said to achieve a position of trend-setting, must huh!

Published 397 original articles · won praise 270 · views 550 000 +

Guess you like

Origin blog.csdn.net/woshisangsang/article/details/104389983