Search code examples
javajavafxplatformvert.x

Vertx and JavaFx


Is there a way to use JavaFX with Vert.x application platform ? I am tryin to build simple application that uses verte.x server and JavaFx client communicating via Vert.x Even Bus.


Solution

  • There is no reason you cant. One way would be to expose the EventBus via a websocket (or use the SockJS Bridge) and connect to that from your JavaFX client. Some links to get you started:

    Client Side

    Server Side

    Good luck!