(iii) Springcloud-micro-service Architecture code structure

Source: Internet
Author: User

Based on the micro-service design concept, combined with spring Cloud's own service discovery, governance, configuration management, distributed and other excellent solutions, we use MAVEN technology to modular, service, atomic encapsulation, but also for the later hot-plug, continuous integration to do some preparatory work.

The particle cloud architecture is built using MAVEN, and using Maven is not just a jar-package control, it's important to capture the central role of Maven, which is to divide the entire project into a modular way, decoupling business from business, The modular business is then serviced or modularized so that any project or platform can be ported for business. Finally, consider the fine-grained splitting of the service, and finally the service orchestration for the multi-service, so that the micro-service architecture is being done.

Here's a look at the code structure of the entire architecture:

Description, the entire microservices architecture is divided into four parts: the first part: The basic framework Package (entity, DAO, Service, Controller, API) for the General Service, and so on the second part: Spring Cloud General MicroServices Project, can monitor the left and right micro services, of course, itself is also a micro service. Part III: The encapsulation of all components within the framework can be implanted into any module project. Part IV: HONGHU Business micro-services, such as: Members, messages, payments, orders, search, merchandise, shops, shopping carts, collections and so on.

Welcome everyone and I together to build a large-scale Internet distributed enterprise Micro-service cloud architecture, I will build the detailed steps of the structure to record down, as a reference to learn from the future, interested in adding Penguin 2147775633, hope to help more good scholar! Source Source

(iii) Springcloud-micro-service Architecture code structure

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.