A smart financial wallet REST API focused on high performance, modern concurrency, and advanced security. This project was developed using a layered architecture (Cloud-Native Microservice) with Helidon 4.2 to demonstrate in practice the main innovations of the newly released Java 27 (September 2026).
In this API, the following official JDK Enhancement Proposals (JEPs) were applied in real-world use cases:
- JEP 533 (Structured Concurrency / Virtual Threads): Parallel dashboard loading (fetching database + external quotes) in record time without blocking the server threads.
- JEP 537 (Vector API - SIMD): Massive batch processing. The API applies yield interest rates to 10,000 transactions simultaneously using hardware acceleration (SIMD).
- JEP 532 (Primitive Types in Switch): Business rules and financial risk assessment engine without using a single
if/else, ensuring clean, readable, and safe code. - JEP 527 & JEP 536 (Post-Quantum Security & JFR Redaction): Future-proof security auditing, supporting ML-KEM and ML-DSA quantum algorithms, protecting against Harvest Now, Decrypt Later threats.
The project avoids the "everything in Main" anti-pattern and uses a clean layered architecture:
/controller: Handles incoming HTTP requests (The Waiters)./service: Contains business rules and heavy processing logic (The Kitchen).Main.java: The entry point and route injection setup.
- Java 27 (configured in your
JAVA_HOMEenvironment variable). - Apache Maven.
- Clone this repository.
- Open your terminal at the project root and run: mvn clean compile exec:exec
- The server will start on port 8080.
| Method | Endpoint | Description | Java 27 Technology |
|---|---|---|---|
| GET | /api/ping | Basic Health Check to verify server status. | Virtual Threads |
| GET | /api/dashboard | Returns account balance and currency quotes simultaneously. | JEP 533 (Concurrency) |
| GET | /api/analytics/simular | Simulates interest yield on 10,000 accounts. | JEP 537 (Vector API) |
| GET | /api/regras/{valor} | Classifies transaction risk based on the input value. | JEP 532 (Pattern Matching) |
| GET | /api/security/info | Post-quantum cryptographic algorithms audit report. | JEP 527 / JEP 536 |