Springboot Series 1_ What is Springboot

Source: Internet
Author: User

Springboot Series 1_ What is springboottable of Contents
    • 1. Ancient times
    • 2. Neolithic Age
    • 3. Steam Age
    • 4. Electrical Age
    • 5. Conclusion

Now that Springboot has become more and more popular, what is Springboot?

1Ancient times

In the words of Java, there was no framework at the very early age. When people do work, they are defined by one object, and then objects are used to accomplish all tasks. The problem is that the coupling between objects and objects is quite strong, and after coupling, it is inconvenient to reuse.

2Neolithic

So, someone began to do separation work. There are two kinds of separation, a vertical slicing, a horizontal slicing. After the cut, make a frame, then, put the object one by one plug in the inside to complete the function of the whole. As if the original computer, all the accessories are welded to die on the motherboard, and then the design of a variety of card slots, and then, a variety of different accessories designed separately, when needed can be combined plug and unplug. EJB is the first such framework, which is the ruler of the framework of the last century.

But under its rule, we find that it is still very troublesome, mainly too cumbersome, all the accessories to be fitted again.

3Steam engine era

So, in 2004, someone rolled out spring. Spring uses a simple and lightweight way to organize objects. As it turns out, EJB is a bulky giant machine, and spring is a lightweight assembly of desktops. We need to how high frequency CPU, how much memory, how big the hard disk, we only need one one to produce or purchase, then we manually a one of these components in accordance with the specified interface can be used to plug it up.
It all seems pretty good, but it's just like the development of computers. After more than 10 years of development, everyone is bored with this way of installing computer accessories every time. Can you just build or buy accessories and then automatically assemble the computer for us? Instead of having to install each accessory into the corresponding card slot each time?

4Electrical Age

For about 2014 years, the spring-launched Springboot. It provides an automatic assembly function that, given its CPU, memory, and hard disk, automatically installs the accessories according to the respective slot type. Well, when every one of our accessories is only one, it's easy to install. So, when there are a number of similar accessories, such as a few pieces of memory, how can be installed in the right position up. Or can we choose to install the parts manually? This is entirely feasible. You just need to write a small amount of configuration code.

In addition, our code depends on the package, and the generation of accessories need to be the same as the electrical components need to choose, and now there is a package form. For example, the original spring production of a CPU, you need to define the use of multiple resistors, how much capacitance and so on. Now springboot just need to specify that the CPU needs to be generated and it will automatically align the parts needed to produce the CPU.

5Conclusion

So, for not using springboot, or are you still hesitant about using spring or using Springboot? What's the difference between them? Students, do not think more, quickly use Springboot bar.

DATE:2017-06-17 21:26

CREATED:2017-06-17 Saturday 22:36

Emacs 25.2.1 (ORG mode 8.2.10)

Validate

Springboot Series 1_ What is Springboot

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.