javawebsocketjava-websockettyrus

Java Websocket client using Tyrus javax.websocket?


I need to connect to already made WebSocket server (ws://173.230.152.100:2828/) using Java and exchange data. It must be possible to use multiple websockets at the same time, so it shouldn't be static class.

I found some examples, but I always get errors and etc..

I need some simple example that works, and maybe a library download link that is used.

How to connect to multiple WebSocket servers using Tyrus library, or other library?


Solution

  • I finally found easy to use library:

    https://github.com/TooTallNate/Java-WebSocket