In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article shows you the relationship between Spring and SpringBoot and SpringCloud. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
Now that we have a preliminary understanding of what problems we have encountered, let's take a look at how SpringCloud helps us meet these challenges. What changes will it bring to application development? The development of our human civilization is mainly reflected in the division of labor and cooperation, just as after hydropower has become infrastructure, each household will not produce water and electricity on its own, and the development of technology is also in line with this trend. Cloud computing is to bring some general and standard technologies into the infrastructure category, so that we can focus on the business area and improve the efficiency of delivery through division of labor and cooperation. SpringCloud also follows the above rules and does a lot of auxiliary work for our application development from different dimensions, making application development easier.
The relationship among Spring, SpringBoot and SpringCloud
Spring has existed as an application development framework for many years. With the continuous development and enrichment of JAVA development technology, the volume of Spring becomes larger and larger, and the configuration becomes more and more complex. Especially with the emergence of new technologies such as cloud computing and micro services, SpringBoot and SpringCloud emerge as the times require. New concepts are easy to make people confused. It is necessary for us to clarify the relationship between them:
Spring
SpringFramework, an open source Java/JavaEE full-function stack application development framework, includes mainstream technical frameworks such as presentation layer, domain layer, data layer and so on:
Core container (CoreContainer)
Spring-Core: core tool class, Spring-Core is widely used by other modules of Spring
Spring-Beans:Spring defines support for Bean
Spring-Context: runtime Spring container
Spring-Context-Support:Spring container integration support for third-party packages
Spring-Expression: query and manipulate objects at run time using the expression language
AOP
Spring-AOP: agent-based AOP support
Spring-Aspects: AspectJ-based AOP support
Message (Messaging)
Spring-Messaging: support for messaging architectures and protocols.
Web
Spring-Web: provides basic Web integration capabilities, providing Spring containers in Web projects
Spring-WebMVC: provides Servlet-based SpringMVC
Spring-WebSocket: provide WebSocket function
Spring-WebMVC-Portlet: provide support for Portlet environment
Data access / Integration (DataAccess/Integration)
Spring-JDBC: provides support for accessing databases with JDBC
Spring-TX: provides programmatic and declarative transaction support
Spring-ORM: provides support for object / relational mapping technology
Spring-OXM: provides support for object / XML mapping technology
Spring-JMS: provides support for JMS
In addition, a huge ecological circle has been formed around SpringFramework, including SpringData, SpringBatch, SpringSecurity, SpringIntegration, SpringAMQP, SpringMobile, SpringforAndroid, SpringWebFlow, SpringShell and other top sub-projects. Through reuse, developers can quickly develop business applications.
SpringBoot
SpringBoot makes a simple package for Spring, simplifies the development of Spring applications, and can build a simple application by writing a small amount of code. It adheres to the concept that the default agreement is greater than the configuration, simplifies the original complex configuration files, provides out-of-the-box settings for Spring and third-party libraries, and provides a set of scaffolding for the rapid development of individual micro-services, making it more convenient and efficient for us to get started and develop.
SpringCloud
A framework of distributed service governance provides us with suites such as configuration center, service registration discovery, circuit breaker, load balancing, micro-agent, message bus, data monitoring and so on. SpringBoot is the rapid configuration scaffolding of Spring. We can quickly develop individual micro-services based on SpringBoot. SpringCloud is a micro-service development kit based on SpringBoot. SpringBoot focuses on the rapid development of individual micro-services, and SpringCloud focuses on the global service governance framework.
Spring does not reinvent the wheel, it just combines the mature and tested service frameworks of various companies, shields the complex configuration and implementation principles through SpringBoot encapsulation, and finally provides developers with a set of distributed system development kits that are easy to understand, easy to deploy and easy to maintain. Micro-service is a service unit that can be independently deployed, horizontally expanded and accessed independently. SpringCloud is the butler of these micro-services. The number of components under micro-service architecture will be very large, and SpringCloud needs to provide various solutions to manage the whole ecology. SpringBoot can be used independently of SpringCloud, but SpringCloud cannot be used without SpringBoot. Their dependencies are as follows:
Spring- > SpringBoot > SpringCloud
What is the relationship between Spring, SpringBoot and SpringCloud? have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.