The distributed architecture is truly suitable for large-scale Internet projects! Dubbo + zookeeper + springmvc + mybatis + shiro + redis, dubbozookeeper

Source: Internet
Author: User
Tags nginx load balancing

The distributed architecture is truly suitable for large-scale Internet projects! Dubbo + zookeeper + springmvc + mybatis + shiro + redis, dubbozookeeper

Platform Introduction

Jeesz is a distributed framework that provides the idea of Project modularization, servitization, and hot swapping, and highly encapsulated and secure Java EE rapid development platform.

Jeesz integrates distributed technologies such as Dubbo service control, Zookeeper registration center, Redis distributed cache technology, FastDFS Distributed File System, ActiveMQ asynchronous message middleware, and Nginx load balancing.

Use Maven for project management and modular projects to improve the ease of Development and scalability of projects

Take Spring Framework as the core container, Spring MVC as the Model View Controller, MyBatis as the data access layer, Apache Shiro as the permission authorization layer, Ehcahe caches common data, and Activit as the workflow engine.

The front-end is integrated with the Bootstrap4 metronic framework. The UI is responsive and flat layout. It is applicable to all PC, Pad, Anroid, and ios mobile devices.

Jeesz is mainly positioned in the internet enterprise architecture and has built-in basic functions of the enterprise information system and efficient code generation tools, including: system permission components, data permission components, data dictionary components, core tool components, view operation components, workflow components, and code generation. Hierarchical Design, dual verification, data security code submission, password encryption, access verification, data permission verification.

Jeesz currently includes the following module projects, background system management system, RestFul independent service system, Scheduler scheduled scheduling system, content management (CMS) system, and online office (OA) system, my to-do list (Task Service), and my favorites (Bookmark Service ).

The background management system includes enterprise organizational structure (user management, organization management, and Region management), menu management, role permission management, and dictionary management;

RestFul independently provides standard Rest service APIs, allowing you to quickly implement your own services and provide required services;

The Quartz scheduled scheduling system can dynamically configure your task rules;

Anyone who is willing to know about framework technology or source code can directly add QQ (2042849237)

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

The online office (OA) system provides simple process instances.

Jeesz provides common tools for encapsulation, including log tools, cache tools, server-side verification, data dictionary, current organization data (user, organization, region), and other commonly used tools. In addition, a powerful online code generation tool is provided, which provides simple single-table, one-to-many, and tree-structure generation functions. If the appearance requirement is not high, the generated function can be used. With the basic framework of Jeesz, you can improve the efficiency of rapid development.

Built-in functions (only some functions are listed)

1. User Management: the user is the system operator. This function is used to complete system user configuration.

2. Organization Management: the Organization (Company, department, and group) of the Configuration System is displayed in the tree structure, and the upper and lower levels can be adjusted at will.

3. Regional Management: System city regional model, such as maintenance of the Country, province, city, and district/county.

4. menu management: configure system menus, Operation permissions, and button permission IDs.

5. role management: Assign permissions to the role menu, and set roles to be divided by Organization for data range permissions.

6. dictionary management: maintenance of some fixed data that is frequently used in the system, such as: whether or not, men and women, category, level, etc.

7. operation logs: Record and query normal operation logs of the system, and record and query system exception logs.

8. connection pool monitoring: monitors the status of the current system database connection pool and analyzes SQL statements to identify system performance bottlenecks.

9. workflow engine: implements business ticket flow and online flow designer.

Development Tools

1. Eclipse IDE: adopts Maven project management and is modular.

2. Code Generation: the code is automatically generated through simple configuration on the interface. Currently, there are three generation methods (add, delete, modify, and query): single table, one-to-many, and tree structure. If you do not need to pay attention to the appearance of the generated code, you can use the generated code.

Technology Selection (only a part of technologies are listed)

1. backend

Service Framework: Dubbo, zookeeper, and Rest services

Cache: Redis, ehcache

Message Middleware: ActiveMQ

Load Balancing: Nginx

Distributed File: FastDFS

Database Connection Pool: Alibaba Druid 1.0

Core framework: Spring framework

Security Framework: Apache Shiro 1.2

View framework: Spring MVC 4.0

Server verification: Hibernate Validator 5.1

Deployment framework: SiteMesh 2.4

Workflow Engine: Activiti 5.15

Task Scheduling: quartz 1.8.5

Persistence Layer framework: MyBatis 3.2

Log Management: SLF4J 1.7, Log4j

Tools: Apache Commons, Jackson 2.2, Xstream 1.4, Dozer 5.3, POI

2. Front-end

JS framework: JQuery 1.9.

CSS framework: Bootstrap 4 metronic

Client verification: JQuery Validation Plugin.

Rich Text: CKEcitor

File Management: CKFinder

Dynamic tab: Jerichotab

Data Table: jqGrid

Dialog Box: jQuery jBox

Tree Structure Control: jQuery zTree

Other components: Bootstrap 4 metronic

3. Support

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

Database Support: currently, only mysql databases are supported, but not limited to databases. The next version upgrades multi-data source switching and database read/write splitting, such as Oracle, SqlServer, and H2.

Supported development environments: Eclipse, MyEclipse, Ras, Idea, etc.

Anyone who is willing to know about framework technology or source code can directly add QQ (2042849237)

Classic introduction:

Source code structure

JEESZ drive Project Construction

Built-in efficient and reliable Code Generator

Multiple Data Models are supported to generate regular repetitive code based on database tables, allowing R & D engineers to focus more on the implementation of business logic code, greatly improving their work efficiency and freeing them from repetitive work.

OPEN CI

Open-source standardized project management solution for software pipeline production to ensure correctness and Reliability

Wizard-based project creation and import, integrated version control (GIT/SVN), project management (Trac/Redmine), code quality (Sonar), and continuous integration (Jenkins)

Private deployment and unified management for developers

JEESZ UI

Based on Bootstrap4

Simple, intuitive, powerful, and most popular HTML, CSS, and JS frameworks for developing responsive la S and mobile device-preferred WEB projects.

Designed for all developers and application scenarios.

It makes front-end development faster and easier. All developers can get started quickly, all devices can adapt, and all projects are applicable.

 

 

 

 

Distributed

Distributed service: Dubbo + Zookeeper + Proxy + Restful

Distributed message middleware: KafKa + Flume + Zookeeper

Distributed cache: Redis Distributed File: FastDFS

Load Balancing: Keepalived + Nginx + Proxy (triple load)

 

 

 

 

 

 

Cloud Services

Subsystem: backend management system, Restfu service system, Dubbo service/control/Monitoring Center

Zookeeper registration center, report analysis system, logging system, and scheduled Scheduling System

Search engine system, distributed file system, message system, SSO Single Sign-On System

SOA control platform, UI component system, OA Office System, and CMS News Publishing System

Payment System, Database Configuration System, workflow system, and Cloud Service Platform

 

 

 

 

 

 

 

 

 

Source code source: http://minglisoft.cn/technology

Add QQ: 2042849237

 

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.