Group introduced a framework

Summary:

    The system uses MVC pattern; application of micro service architecture, to distinguish the application layer system and the service layer, the service layer provides service interface service application layer system call service layer, an application layer system accepts distal request and, in response; between the various systems for single sign .

    Logical Architecture: Core Services (goods and services, orders, and customer service), basic services, employee services, OA office services, asynchronous processing services, reporting services, C end customer service, information services, reptile service.

    System: Money Xiaoyun app system, the core system, the basic platform system, hr system, two OA systems, time and attendance system, C terminal systems, information systems.

1, using a spring-boot integration

    1) Create a separate Spring application 
    2) embedded Tomcat, without deploying WAR file 
    3) simplify the configuration Maven 
    4) Spring autoconfiguration 
    . 5) provides production-ready functions such as indicators, health check and external configuration 
    6) out of the box no code generation, and without XML configuration

2, spring-cloud, distributed deployment

3, eureka, registered as a service discovery center

4, spring-data + jpa + hibernate, for persistence and query

5, spring-boot + javax, calibration parameters

6, swagger-party libraries, to achieve self-generated interface documentation

7, rocketmq messages asynchronously, asynchronous processing is completed

8, es, complete storage and query large data

9, fastdfs, file storage

10, nginx, before and after separation ends, cluster deployments

11, sso, each system can achieve single sign-on

12, log4j2, and print the log record

    1) Normally, the program executed, the printing parameters into the filter, a reference, a time-consuming and the like;

    2) abnormal situation, global exception handler, and print the captured abnormal abnormality, and the print parameters.

,.....

Guess you like

Origin blog.csdn.net/jiahao1186/article/details/90757278