Some recommended plans for Spring Cloud development

Source: Internet
Author: User

1. Provide a unified parent Pom dependency

Role: Unified version with the introduction of necessary dependencies

2, provide a template model.

Role: Developers do not have to relate to specific base startup items

3. Provide a unified base configuration model

Role: Developers are not too concerned with the necessary configuration

4. Provide testing and Production configuration Center

Role: Developers do not have to consider formal and test environment switching issues. You can also make dynamic configuration changes. You will cry when you have a service that deploys n containers that do not apply to Docker.

5. Provide an instance of introducing a database and referencing multiple databases

Recommended unified use of Spring Data Jap
Reason:

Only need to introduce the corresponding database driver, the same syntax. Simplifies development and facilitates unified management. Follow-up maintenance, etc.

6. Unified use of feign to make calls between services

Reason:

This method of invocation looks more like the traditional development calling interface class. At the same time, you don't have to worry too much about what Http calls.


With a few appeals, basic developers can switch from traditional development mode to cloud mode without feeling.

Spring Boot + Cloud actually simplifies our development and improves efficiency. Let's focus more on the implementation of specific business functions.


Real developers, don't feel the difficulty of switching from traditional mode to Cloud micro-service mode. When applied, you will find that everything has become simple and clear. If it is still the same, it can only be said that the planning of the people did not pass.


The biggest difficulty of traditional service transformation Micro-service is the localization, planning and segmentation of micro-service. The postgraduate is to do planning and positioning of the people.

Some recommended plans for Spring Cloud development

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.