Backend Development 9 min read

Zheng: A Comprehensive J2EE Enterprise Development Framework with Distributed Architecture

The article introduces Zheng, a full‑stack J2EE enterprise solution built on Spring, SpringMVC and Mybatis, detailing its modular microservice architecture, technology stack, module functions, environment setup, deployment tools, and provides links to the source repository and demo screenshots.

Java Captain
Java Captain
Java Captain
Zheng: A Comprehensive J2EE Enterprise Development Framework with Distributed Architecture

Introduction – Zheng is presented not only as a development framework but as a complete J2EE enterprise solution covering front‑end templates, basic frameworks, distributed architecture, open‑source projects, CI, automated deployment, and seamless upgrades.

Project Introduction

Based on a Spring+SpringMVC+Mybatis distributed agile development architecture, Zheng offers a suite of common micro‑service modules such as content management, payment center, user management (including third‑party), WeChat platform, storage system, configuration center, log analysis, task and notification, supporting service governance, monitoring and tracing, aimed at small‑to‑medium enterprises.

Organization Structure

zheng
├── zheng-common -- SSM framework common module
├── zheng-admin -- backend management template
├── zheng-ui -- frontend Thymeleaf templates [port:1000]
├── zheng-config -- configuration center [port:1001]
├── zheng-upms -- user permission management system
│   ├── zheng-upms-common -- upms common module
│   ├── zheng-upms-dao -- code‑generation module, no development needed
│   ├── zheng-upms-client -- integrates upms dependencies, provides SSO, auth, session management
│   ├── zheng-upms-rpc-api -- RPC interface package
│   ├── zheng-upms-rpc-service -- RPC service provider
│   └── zheng-upms-server -- user permission system & SSO server [port:1111]
├── zheng-cms -- content management system
│   ├── zheng-cms-common -- CMS common module
│   ├── zheng-cms-dao -- code‑generation module
│   ├── zheng-cms-rpc-api -- RPC interface package
│   ├── zheng-cms-rpc-service -- RPC service provider
│   ├── zheng-cms-search -- search service [port:2221]
│   ├── zheng-cms-admin -- backend management [port:2222]
│   ├── zheng-cms-job -- message queue, task scheduling [port:2223]
│   └── zheng-cms-web -- website frontend [port:2224]
├── zheng-pay -- payment system
│   ├── zheng-pay-common -- pay common module
│   ├── zheng-pay-dao -- code‑generation module
│   ├── zheng-pay-rpc-api -- RPC interface package
│   ├── zheng-pay-rpc-service -- RPC service provider
│   ├── zheng-pay-sdk -- development kit
│   ├── zheng-pay-admin -- backend management [port:3331]
│   └── zheng-pay-web -- demo example [port:3332]
├── zheng-ucenter -- user system (including third‑party login)
│   ├── zheng-ucenter-common -- ucenter common module
│   ├── zheng-ucenter-dao -- code‑generation module
│   ├── zheng-ucenter-rpc-api -- RPC interface package
│   ├── zheng-ucenter-rpc-service -- RPC service provider
│   └── zheng-ucenter-web -- website frontend [port:4441]
├── zheng-wechat -- WeChat system
│   ├── zheng-wechat-mp -- public account management
│   └── zheng-ucenter-app -- WeChat mini‑program backend
├── zheng-api -- API gateway providing unified interfaces, routing, rate‑limiting, monitoring, fault tolerance, and logging
├── zheng-oss -- object storage system (Aliyun OSS, Tencent COS, Qiniu, local distributed storage)
├── zheng-message -- real‑time notification system based on Netty SocketIO
├── zheng-shop -- e‑commerce system
└── zheng-demo -- demo modules with sample code

Technical Selection

Backend Technologies – illustrated with diagrams (Spring, Mybatis, Dubbo, Redis, Zookeeper, etc.).

Frontend Technologies – shown with diagrams (Bootstrap, Material Design, Thymeleaf, Nginx static‑dynamic separation).

Architecture Diagram – visual representation of the overall system layout.

Module Introduction

zheng-common : Spring+SpringMVC+Mybatis integration, common configuration, MybatisGenerator plugin, BaseService, utilities.

zheng-admin : Responsive Material Design backend UI built with Bootstrap, used by all backend modules.

zheng-ui : Front‑end Thymeleaf templates, static resources served via Nginx.

zheng-upms : RBAC‑based permission platform with SSO, session and log management; permission calculation follows user‑minus > user‑plus > role hierarchy.

zheng-oss : File storage offering four solutions – Aliyun OSS, Tencent COS, Qiniu, and local distributed storage.

zheng-api : Service gateway exposing unified APIs, supporting signature verification, authentication, routing, rate limiting, monitoring, fault tolerance, and logging.

zheng-cms : Content management system with multi‑tag, multi‑category, comment support, single‑page display, menu management, and system settings.

zheng-pay : One‑stop payment platform supporting Alipay, WeChat Pay, online banking, with unified order, order management, analytics, financial reports, merchant and channel management, reconciliation, and monitoring.

zheng-ucenter : General user management (registration, login, profile, third‑party login) with extensibility.

zheng-wechat-mp : WeChat public account management (auto‑reply, menu, material, user management, mass messaging, QR code promotion, marketing, mini‑site, membership cards, coupons).

zheng-message : Real‑time push system using Netty SocketIO, supporting namespaces, binary data, SSL, ACK.

Environment Setup

Development Tools

MySQL (database)

Jetty (development server)

Tomcat (application server)

SVN / Git (version control)

Nginx (reverse proxy)

Varnish (HTTP accelerator)

IntelliJ IDEA (IDE)

PowerDesigner (modeling)

Navicat for MySQL (DB client)

Development Environment

JDK 7+

MySQL 5.5+

Redis

Zookeeper

ActiveMQ

Dubbo‑admin

Dubbo‑monitor

Project Demo

Preview screenshots of the UI and various modules are provided (images omitted for brevity).

Data Model

Entity‑relationship diagram illustrating the database schema (image omitted).

Topology

Network topology diagram showing service interactions and deployment layout (image omitted).

Project Address

https://gitee.com/shuzheng/zheng?_from=gitee_search

PS: If you find this sharing useful, please like and watch.

END

javamicroservicesBackend Developmentspringenterprise architecturej2ee
Java Captain
Written by

Java Captain

Focused on Java technologies: SSM, the Spring ecosystem, microservices, MySQL, MyCat, clustering, distributed systems, middleware, Linux, networking, multithreading; occasionally covers DevOps tools like Jenkins, Nexus, Docker, ELK; shares practical tech insights and is dedicated to full‑stack Java development.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.