Java EE distributed architecture Dubbo + SPRINGMVC + mybatis + ehcache + Redis distributed architecture

Source: Internet
Author: User
Tags connection pooling nginx load balancing

Abstract: Mainly located in the Internet Enterprise architecture, has built-in enterprise information system basic functions and efficient code generation tools, including: System permissions components, data rights components, data dictionary components, core tool components, view operations components, workflow components, code generation and so on. Adopt layered design, double authentication, submit data security code, password encryption, access authentication, data permission verification.

Introduction to the Framework

is a distributed framework that provides modular, service-based, hot-swappable ideas for project-based, highly packaged Java EE rapid development platforms.

It integrates Dubbo Service control, zookeeper Registration Center, Redis distributed cache technology, FASTDFS Distributed File system, ACTIVEMQ asynchronous message middleware, Nginx load balancing and other distributed technologies.

Project management using MAVEN, Project modularity, improve project accessibility, extensibility

With the spring framework as the core container, Spring MVC is the Model View controller, MyBatis is the data access layer, Apache Shiro is the permission authorization layer, Ehcahe caches the common data, Activit is the workflow engine and so on.

Front-end integrated BOOTSTRAP4 metronic frame, UI responsive, flat layout, adaptable to all PCs, pads, anroid, iOS mobile devices, and more.

Mainly located in the Internet Enterprise architecture, has built-in enterprise information system basic functions and efficient code generation tools, including: System permissions components, data rights components, data dictionary components, core tool components, view operations components, workflow components, code generation and so on. Adopt layered design, double authentication, submit data security code, password encryption, access authentication, data permission verification.

Currently includes the following module projects, backend system management system, restful standalone service system, scheduler timing scheduling system, Content Management (CMS) system, online Office (OA) system, my Todo (Task service), my Favorites (bookmark service).

Background management system includes enterprise organization structure (user management, organization management, regional management), menu management, role Rights Management, dictionary management and other functions;

RESTful standalone provides standard rest service APIs that enable you to quickly implement your business and provide the services you need;

Quartz timing Scheduling System can dynamically configure your task rules, and so on;

Willing to understand the framework of technology or source of friends directly Add (Penguin) 2042849237

Content Management (CMS) system, including content management, column management, site management, public message, file management, front-end site display and other functions;

An online office (OA) system that provides a simple process example.

Common tools are available for encapsulation, including log tools, caching tools, server-side validation, data dictionaries, current organization data (users, organizations, regions), and other commonly used gadgets. There is also a powerful online code generation tool that provides a simple single-table, one-to-many, tree-structured feature generation that can be used if the appearance requirements are not high. Using the underlying framework can improve the efficiency of rapid development.

Built-in features (only part of the functionality is listed)

1. User management: The user is the system operator, this function mainly completes the system User Configuration.

2. Organization Management: Configuration system Organization (company, Department, Group), tree structure display, can adjust the subordinate.

3. Regional management: System Urban regional model, such as: national, provincial, municipal, county and county maintenance.

4. Menu Management: Configure the System menu, Operation permissions, button permission identification and so on.

5. Role Management: Role Menu permission assignment, set role to divide data range permissions by agency.

6. Dictionary management: Maintenance of some of the more fixed data commonly used in the system, such as: whether, gender, category, level, etc.

7. Operation log: System normal operation log record and query, system exception information log record and query.

8. Connection Pooling monitoring: monitor the status of the current system database connection pool to analyze SQL to identify system performance bottlenecks.

9. Workflow Engine: Implement business order flow, online process designer.

Development tools

1.Eclipse IDE: Using MAVEN project management, modular.

2. Code generation: Through the interface mode simple configuration, automatically generate the corresponding code, currently includes three ways to generate (add and revise): Single table, one-to-many, tree structure. After the generated code, if you do not need to pay attention to the degree of beauty, after the build can be used.

Technology selection (only part of the technology is listed)

1, back-end

Service Framework: Dubbo, Zookeeper, rest services

Cache: Redis, Ehcache

Message middleware: ActiveMQ

Load balancing: Nginx

Distributed files: Fastdfs

Database connection pool: Alibaba Druid 1.0

Core Framework: Spring framework

Security framework: Apache Shiro 1.2

View Frame: Spring MVC 4.0

Server-side validation: Hibernate Validator 5.1

Layout frame: Sitemesh 2.4

Workflow Engine: Activiti 5.15

Task Scheduler: Quartz 1.8.5

Persistence Layer Framework: MyBatis 3.2

Log management: slf4j 1.7, log4j

Tool classes: Apache Commons, Jackson 2.2, Xstream 1.4, dozer 5.3, POI

2. Front-end

JS Frame: JQuery 1.9.

CSS Framework: Bootstrap 4 Metronic

Client-side validation: JQuery Validation Plugin.

Rich Text: Ckecitor

File Management: Ckfinder

Dynamic tab: Jerichotab

Data table: Jqgrid

dialog box: JQuery jbox

Tree structure controls: JQuery Ztree

Other components: Bootstrap 4 metronic

3. Support

Server middleware: Tomcat 6, 7, Jboss 7, WebLogic 10, WebSphere 8

Database support: Currently only support MySQL database, but not limited to the database, the next version of the upgrade multi-data source switching and database read and write separation: Oracle, SQL Server, H2, etc.

Support development environment: Eclipse, MyEclipse, Ras, idea, etc.

Classic Introduction:

SOURCE structure


You are welcome to study the relevant technology to learn about the framework of technology or source of friends directly add to ask: 2042849237

More detailed source code reference: Http://minglisoft.cn/technology

Java EE distributed architecture Dubbo + SPRINGMVC + mybatis + ehcache + Redis distributed architecture

Java EE distributed architecture Dubbo + SPRINGMVC + mybatis + ehcache + Redis distributed architecture

Related Article

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.