shoteose Space

shoteose © Copyright 2025. All rights reserved.

Download Curriculum Vitae

Ouro Certo - Offline Purchase Management

(2026)

Hybrid desktop application (Java/Web) with zero-install, bundled JRE, and offline architecture.

JavaSpring BootHTMXThymeleafH2 DatabaseHibernate/JPALaunch4jDesktop App
Ouro Certo - Offline Purchase Management's Cover Image
Repository

More Details

This application was engineered to address a critical business requirement: gold purchase and jewelry management in a 100% offline environment, with zero installation dependencies on Windows systems.

Technological Stack

  • Backend: Java 25 + Spring Boot 3
  • Frontend: HTMX + Thymeleaf + Bootstrap 5
  • Data: H2 Database (Persistent File Mode)
  • Build & Packaging: Maven + Launch4j

Technical Challenges & Solutions

1. Hybrid Desktop/Web Architecture

I transformed a standard Spring Boot web application into a native desktop experience. By encapsulating the Tomcat server into a standalone executable (.exe) using Launch4j, I eliminated the need for any server configuration or manual deployment by the end user.

2. Absolute Portability (Bundled JRE)

To achieve true "zero-install" functionality, I implemented a Bundled JRE strategy. The Java Runtime Environment is included directly within the application directory. This allows the software to run seamlessly from a USB flash drive or any local folder on any Windows machine, without requiring the client to have Java pre-installed on their system.

3. Resource Management & Graceful Shutdown

A custom Graceful Shutdown system was developed to ensure efficient resource management. When the user clicks the "Exit" button in the web interface, the application sends a signal to the backend to terminate the Java process and close the browser window simultaneously. This prevents "zombie" processes from remaining active and unnecessarily consuming system RAM.

Project Gallery

Ouro Certo - Offline Purchase Management - Mídia 1
Ouro Certo - Offline Purchase Management - Mídia 2
Ouro Certo - Offline Purchase Management - Mídia 3
Ouro Certo - Offline Purchase Management - Mídia 4
Ouro Certo - Offline Purchase Management - Mídia 5
Ouro Certo - Offline Purchase Management - Mídia 6
Ouro Certo - Offline Purchase Management - Mídia 7
Ouro Certo - Offline Purchase Management - Mídia 8