/javafx-django-communication

building simple half-duplex [HTTP] and full-duplex [websocket] communications between Django API and JavaFx Application

Primary LanguageJava

Overview:

- This is just a showcase of how to build half-duplex [HTTP] and full-duplex [Websocket] communications between a Django API and a Java Desktop application.

- Feel free to copy, read, fork or whatever you want.

- Agenda:

  • HTTP Communication.

  • Websocket Communication.


Usage:

▶️ server_django:

- Make sure you have python3, Django installed in your machine. check this link

cd server_django

python manage.py migrate
python manage.py runserver
▶️ client_javafx directory:

- Start the app and watch the console while playing with the add/subtract buttons.


Screenshot:

shot