The original DDD book sample regapp was written in Swing and Spring.
This app is used for submitting handling events to the cargotracker core system (forked from eclipse-ee4j/cargotracker).
- Rebuilding the whole UI with JavaFX
- Using CDI(JBoss Weld) as IOC container
- The communication between client and server is switched to Jakarta Restful Service(JAX-RS)
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 compile exec:java
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 that deployed on a remote server, such as AWS, etc, please setup an environment variable HANDLING_REPORT_SERVICE_URL to locate the full path of the handling events RESTful API.
- 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