Home

OLL Mobile

FAQ

Creating Binary WebSocket Connections with Java EE 7 and JavaFX

    • Rating:

General Information

  • This tutorial covers how to create binary WebSocket connections with Java Platform, Enterprise Edition 7 (Java EE 7) and JavaFX.

    Release Date: 06-Dec-13

    Duration: 60 minutes

    Credited To: Eduardo Moranchel

    No Flash Plugin Needed

Reviews

  • omar

    18-Dec-14

    Excellent tutorial, however there is a showstopper in the onMessage code in the JavaFXBinaryWsClient class. The image control is updated from the wrong thread which causes an error. Change the code to: @OnMessage public void onMessage(InputStream input) { Platform.runLater(new Runnable() { @Override public void run() { Image image = new Image(input); imageView.setImage(image); } }); }

Paid Training

Other Related Products

Visit the Full Site | About Oracle | Contact Us | Terms of Use