Skip to content

Develop Correo

Frieder Reinhold edited this page May 28, 2021 · 16 revisions

Basic architecture

+----------+     +----------+       +----------+
| business | <-- |   gui    |       |  plugin  |
+----------+     +----------+       +----------+ 

TODO unify dependency for plugin package

GUI (org.correomqtt.gui)

  • The gui lives in the JavaFX application thread
  • All work that is not related directly to the ui is outsourced to business
  • Uses JavaFX properties for DTOs: DTOs-and-Transformer

Business (org.correomqtt.business)

  • All real mqtt communication lives here
  • Multithreading for running background tasks
  • NO JavaFX dependency (maybe we will introduce a command line interface without JavaFX but with business)
  • Uses Pojos for DTOs: DTOs-and-Transformer

GUI <-> Business Communication

Basically the approach to communicate between GUI and business is based on JavaFX Tasks and business services: Communication-between-GUI-and-business

Clone this wiki locally