Enterprise Distributed Microservice Cloud Architecture Technology Sharing Spring Cloud + Spring Boot + Mybatis + shiro + RestFul + Microservice

1 Introduction

Commonservice-system is a large-scale distributed, micro-service, enterprise-oriented JavaEE system rapid research and development platform. Based on the design ideas of modularization, service, atomization, and hot swap, it is built using mature and leading mainstream open source technologies without commercial restrictions. . The service-based component development model can realize complex business functions. Provide a driven development model, integrate the built-in code generator, increase the JavaEE development efficiency by more than 5 times, reduce the amount of code development by 50%, solve 80% of the repetitive work, and let developers pay more attention to business logic. Maven is used for project construction management, and Jenkins is used for continuous integration, mainly targeting the architecture of large-scale distributed enterprise systems or large-scale distributed Internet products.

2. Using Technology

SOA service framework: SpringCloud, SpringBoot, RestFul, etc.

Distributed cache: Redis

Modular Management: Maven

Database connection pool: Alibaba Druid

Core framework: Spring framework, SpringBoot

Persistence layer framework: MyBatis

Security Framework: Apache Shiro

Server-side validation: Hibernate Validator

Task scheduling: quartz

Log management: SLF4J 1.7, Log4j

Client Validation: JQuery Validation

Dynamic tab: easyuitab

Front-end framework: Bootstrap, Vue

3. Design thinking

Distributed, Microservices, Cloud Architecture

JAVA language development, cross-platform, high-performance, high-availability, security, service-oriented, modularization, componentization, driven development mode

4. Technical Architecture

5.    Basic functions of the platform

 User management: The user is the system operator, and this function mainly completes the system user configuration.

 Role management: Assign role menu permissions, set roles, and divide data scope permissions by organization.

 Rights management: maintain some relatively fixed data that are often used in the system.

 Menu management: configure system menu, operation authority, button authority identification, etc.

 Department management: configure the system organization, display the tree structure, and adjust the upper and lower levels at will.

 Log management: system normal operation log record and query; system abnormal information log record and query.

 Connection pool monitoring: Monitor the current system database connection pool status, and analyze SQL to find out system performance bottlenecks.

 The source code source of the complete project technical support 1791743380

6. Source code structure

7. Registry

8. Screenshots of some functions

Welcome to study and research related technologies together. Friends who are willing to understand framework technology or source code directly ask for help 

The source code source of the complete project technical support 1791743380

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324972317&siteId=291194637