This Cargotacker regapp ported CargoTracker Regapp(CDI/Weld + JavaFX) to Quarkus using Quarkus FX extension.
The original Cargotracker regapp from Eric's DDD book sample was written in Swing and Spring is used to submit handling events to the Cargotracker backend system (a fork from eclipse-ee4j/cargotracker) via a public RESTful API.
This project is developed against the latest Java and JavaFX.
- Java 21
- Apache Maven 3.9.x
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.
- Quakrus FX Extension announcement
- JavaFX and CDI: How to Inject many Stages
- Bootstrap Javafx 2.0 with Weld
- JavaFX FXML controller - constructor vs initialize method
- cathive/fx-guice
- Introducing FxWeaver - Dependency Injection Support for JavaFX and FXML and rgielen / javafx-weaver
- Getting Started with JavaFX
- Working With Layouts in JavaFX
- JavaFX Tutorial: FXML and SceneBuilder
- TestFX/TestFX
- Test Driven Development In JavaFX With TestFX
- trishagee/jb-stock-client
- Spring Tips: JavaFX
- Testing CDI Beans and the Persistence Layer Under Java SE
- Weld JUnit 5 Extensions
- sshahine/JFoenix