Real-Time Campus Security Platform Built on Jmix

    The Challenge

    Campus security operations generate thousands of daily data points - from patrol check-ins and incident reports to equipment monitoring and visitor logs. RuiXuan Zhu set out to build a unified platform that could handle this complexity while keeping field staff mobile and responsive.

    The system needed to serve multiple stakeholders: administrators coordinating operations, security personnel executing patrols, safety officers tracking compliance, and third-party maintenance teams responding to equipment alerts. All of this required real-time synchronization between a desktop management interface and mobile devices in the field.

    Technical Architecture

    Backend Stack:

    • Jmix 2.6 with Java 17
    • Alibaba Cloud deployment
    • MySQL database layer
    • RESTful API layer for mobile integration

    Mobile Layer:

    • WeChat mini-program for field operations
    • QR code and NFC scanning for asset identification
    • Real-time task execution and reporting

    IoT Integration:

    • REST API connections to fire alarm systems
    • Water pressure sensor monitoring
    • Automated alert routing

    Technical Requirements That Drove the Design

    • Complex Domain Model at Scale.
      Managing 100+ interconnected entities (personnel records, equipment inventories, patrol routes, incident logs) without drowning in boilerplate code.

    • Workflow Without Overhead.
      The operations are structured but not rigid enough to justify a full BPM engine - the platform needed built-in workflow patterns that stayed out of the way.

    • Mobile-First Execution.
      Field staff needed to execute tasks, scan location markers, and submit reports without leaving the WeChat ecosystem.

    • Multi-Tenant from Day One.
      Built to scale across universities, each with isolated data and independent admin controls.

    • Real-Time Device Integration.
      Third-party sensors and alarms needed to push alerts directly into the workflow without manual intervention.

    • Complex Data Relationships.
      Import/export processes had to preserve referential integrity across deeply nested entity relationships.

    Why Jmix Won the Stack Decision

    01 — Domain Model Velocity

    Jmix Studio's scaffolding handled the 100+ entity data model with consistent CRUD operations and UI patterns, letting the team focus on business logic rather than infrastructure.

    02 —UI Assembly Speed

    Screen generation through Jmix Studio compressed what would typically be weeks of form-building into days, redirecting effort toward workflow refinement and mobile integration.

    03 — Enterprise Patterns Baked In

    Audit trails, configuration management, and reporting came out of the box - no need to build these foundational pieces from scratch.

    04 — Clean Business Logic Layer

    Entity lifecycle events and async task handling kept complex operations organized without sprawling service layers.

    05 — REST API Integration

    Native REST support simplified the backend-to-mobile handoff, with straightforward serialization and authentication patterns.

    Implementation Highlights

    The backend architecture manages all 100+ entities with automatic creation and modification timestamping, where Jmix Studio generated the initial views while custom business logic lives in entity event handlers and background jobs. The team made a deliberate choice to skip BPM tooling, keeping the codebase lean by enforcing workflows through state machines and validation logic rather than external orchestration. Custom Apache POI integration handles complex Excel operations that preserve multi-level entity relationships during bulk data migration, which proved critical for initial system setup and periodic data exchanges.

    The platform implements a multi-tenancy model where each university operates as an isolated tenant, with administrators using the full backend interface while field staff access a streamlined WeChat mini-program. Bulk account provisioning keeps onboarding efficient, and permission inheritance from the tenant level simplifies access control. The notification architecture leverages WeChat messaging instead of traditional email, delivering task assignments, alerts, and updates directly in the platform users are already monitoring throughout the day.

    The mobile experience bridges physical and digital operations through QR code scanning and NFC tag reading, allowing staff to instantly pull up location details and equipment records without manual lookups during patrols and inspections. The IoT pipeline completes the integration picture, with REST webhooks from fire alarms, pressure sensors, and other monitoring equipment feeding directly into the incident management workflow to trigger alerts and create service tickets automatically.

    Production Impact

    The platform currently runs in production at two major Chinese universities - Huazhong University of Science and Technology and Chengdu University of Technology - where it serves over 300 active users daily across security staff, administrators, and service teams. The system processes more than 2,000 daily operations including patrol logs, incident reports, visitor registrations, and equipment checks, demonstrating its capacity to handle real-world operational load at scale.

    What makes this implementation particularly sustainable is the development continuity model, where junior students inherit the codebase and add new features under faculty supervision. This approach not only demonstrates the maintainability of the architecture and effectiveness of knowledge transfer, but ensures the platform evolves with changing campus security needs while providing hands-on learning opportunities for successive cohorts of computer science students.

    Result

    Developer Perspective

    Reflecting on the project's success, RuiXuan Zhu notes how Jmix enabled delivery that would typically require a much larger team:


    This project allowed me to explore Jmix capabilities for building complex enterprise applications and integrating external systems. We successfully created a platform that helps university security staff efficiently manage daily tasks, and the use of Tabbed Application Mode significantly improved user experience.

    RuiXuan Zhu, Huazhong University of Science and Technology

    photo

    The Tabbed Application Mode proved particularly transformative for user experience, allowing operators to keep multiple workflows open and switch contexts without losing their place.

    The result is a production-ready system that's measurably improving campus safety operations while serving as a proving ground for enterprise development patterns in an academic setting.

    Customer Stories
    <p>Varasset Migrates from Legacy to Modern Open-source Stack in 8 Months</p>
    Utilities

    Varasset Migrates from Legacy to Modern Open-source Stack in 8 Months

    A configurable software solution for the power and communications industries.
    Learn more
    <p>Innovative Disaster Management by Consorzio Metis</p>
    eGovernment & Public Services

    Innovative Disaster Management by Consorzio Metis

    A solution for monitoring natural disasters and managing the damage control.
    Learn more
    <p>Ingenico connects Jira with the legacy project management system by the Pipe in 3 months</p>
    Banking and Financial Services

    Ingenico connects Jira with the legacy project management system by the Pipe in 3 months

    A comprehensive task management environment for a global leader in secure electronic transactions systems.
    Learn more
    <p>A Government Billing System from Scratch by Card Access Services</p>
    Banking and Financial Services

    A Government Billing System from Scratch by Card Access Services

    Digitalization of the whole country’s payment system.
    Learn more
    <p>Corporate-level Talent Management IT System in 6.5 Months</p>
    Professional Services

    Corporate-level Talent Management IT System in 6.5 Months

    Enterprise-level HR management system.
    Learn more
    <p>Electricity North West UK significantly reduced revenue losses impacted by metal theft incidents and flooding</p>
    Utilities

    Electricity North West UK significantly reduced revenue losses impacted by metal theft incidents and flooding

    Dynamic risk management through numerous data sources and business processes.
    Learn more
    <p>TAB Bank gains internal process excellence to reduce costs while expanding the business</p>
    Banking and Financial Services

    TAB Bank gains internal process excellence to reduce costs while expanding the business

    Complex automation systems for a bank from the USA.
    Learn more
    <p>3-Fold Revenue Growth of a Debt Recovery Agency</p>
    Professional Services

    3-Fold Revenue Growth of a Debt Recovery Agency

    Business process automation providing competitive differentiation.
    Learn more
    <p>IT Consultores modernizes operational banking system and reporting software platform</p>
    Banking and Financial Services

    IT Consultores modernizes operational banking system and reporting software platform

    Modernization of operational banking system for the South American markets, grow of market share and Design Talent Awards with Jmix.
    Learn more
    <p>Compiler develops a bespoke ecommerce platform for the maritime industry using Jmix</p>
    Logistics and Transportation

    Compiler develops a bespoke ecommerce platform for the maritime industry using Jmix

    Development of fully functional ecommerce platform for more than 6000 of users by 1 developer.
    Learn more
    <p>Building a feature-packed CMS for the website in just 3 weeks</p>
    Professional Services

    Building a feature-packed CMS for the website in just 3 weeks

    Development of a complete backend of website with the automation of the catalog and job openings and feedback from customers in 2 weeks.
    Learn more
    <p>Development a CRM solution for non-profit organization</p>
    Professional Services

    Development a CRM solution for non-profit organization

    How non-profit organization, Fundacion Educacional Arco Iris Bajo el Sol, leveraged Jmix to develop a CRM system for improving education and treatment for children with cognitive disabilities.
    Learn more
    <p>Streamlining Print Production Management with Jmix</p>
    Professional Services

    Streamlining Print Production Management with Jmix

    Development of software on Jmix that effectively manages the production of printed products and seamlessly interfaces with other specialized printing software.
    Learn more
    <p>Why Jusan Bank chose Jmix for digital transformation</p>
    Banking and Financial Services

    Why Jusan Bank chose Jmix for digital transformation

    How Jusan Bank digitized business processes and developed 13 web applications on Jmix.
    Learn more
    <p>KairosMD: A comprehensive evolution in electronic medical records</p>
    Professional Services

    KairosMD: A comprehensive evolution in electronic medical records

    KairosMD is an electronic medical record (EMR) system designed to improve the management and tracking of patient records, built with Jmix.
    Learn more
    <p>Development of a logistics system: NetMechanics case with Jmix</p>
    Logistics and Transportation

    Development of a logistics system: NetMechanics case with Jmix

    Development of robust logistics system with Jmix to manage and streamline bus round trips between cities efficiently.
    Learn more
    <p>DragonPass: Enhancing Resource Management with Jmix</p>
    Logistics and Transportation

    DragonPass: Enhancing Resource Management with Jmix

    Jmix proved to be the fastest and most efficient Java tool for building scalable business applications.
    Learn more
    <p>DSS Consulting Builds GDPR Compliance Platform on Jmix</p>
    eGovernment & Public Services

    DSS Consulting Builds GDPR Compliance Platform on Jmix

    DSS Consulting chose the Jmix platform to develop GDPRoofed.
    Learn more
    <p>How DSS Consulting Powered Bosch Rexroth’s Internal Workflows with Jmix BPM</p>
    Manufacturing

    How DSS Consulting Powered Bosch Rexroth’s Internal Workflows with Jmix BPM

    Using the Jmix BPM add-on as a foundation, DSS developed a powerful process management system.
    Learn more
    <p>Public Sector Services Transformation Powered by Jmix and OPE Colombia</p>
    eGovernment & Public Services

    Public Sector Services Transformation Powered by Jmix and OPE Colombia

    Using the Jmix platform, OPE Colombia developed a smart governance solution to enhance public sector operations and support digital transformation.
    Learn more
    <p>Why INFOPRO Chose Jmix<br> to Accelerate Fintech Delivery</p>
    Banking and Financial Services

    Why INFOPRO Chose Jmix
    to Accelerate Fintech Delivery

    To meet tight deadlines for a Southeast Asian bank, INFOPRO used Jmix to develop a scalable, secure digital lending system with dynamic workflows and full compliance support.
    Learn more
    <p>Why Kargil Solutions Chose Jmix to Supercharge 
Warehouse and Delivery Management</p>
    Logistics and Transportation

    Why Kargil Solutions Chose Jmix to Supercharge 
Warehouse and Delivery Management

    Having worked with Jmix on previous projects, Kargil Solutions knew it provided the out-of-the-box features and extensibility they needed. According to Robert Gilbert, founder of Kargil Solutions:
    Learn more
    <p>Web3Box: Modernizing Accessibility-First 
Placement Workflows with Jmix</p>
    Professional Services

    Web3Box: Modernizing Accessibility-First 
Placement Workflows with Jmix

    Facing strict accessibility requirements and complex workflows, Web3Box chose Jmix for faster development and easier evolution, achieving 40% quicker delivery, lower costs, and faster feature releases.
    Learn more
    <p>Real-Time Campus Security Platform Built on Jmix</p>
    Professional Services

    Real-Time Campus Security Platform Built on Jmix

    Campus security operations generate thousands of daily data points - from patrol check-ins and incident reports to equipment monitoring and visitor logs. RuiXuan Zhu set out to build a unified platform that could handle this complexity while keeping field staff mobile and responsive.
    Learn more