/quarkus-cargotracker-regapp

Cargotracker Event Register App Client rewritten in Quarkus+JavaFX

Primary LanguageJavaApache License 2.0Apache-2.0

Quarkus CargoTracker RegApp

This Cargotacker regapp is rewritten in Quarkus and JavaFX via Quarkus FX extension.

The original Cargotracker regapp from Eric's DDD book sample was written in Swing and Spring. This repository refactored the existing CargoTracker Regapp(CDI/Weld + JavaFX) to submit handling events to the Cargotracker core system (a fork from eclipse-ee4j/cargotracker).

preview

Prerequisites

This project is developed against the latest Java and JavaFX.

  • Java 21
  • Apache Maven 3.9.x

Build

Clone the source codes from Github, open a terminal and switch to the root folder of the project.

Execute the following command to build and run the application.

mvn clean package quarkus:run

When testing the functionality on your local machine, you have to run cargotracker firstly, check CargoTracker Getting Started Guide.

If you are trying to run it against a running cargotracker deployed to AWS, etc, please setup an environment variable HANDLING_REPORT_SERVICE_URL to locate the full path of the handling events RESTful API.

References