Java Websocket client using Tyrus javax.websocket?

3.1k Views Asked by At

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?

1

There are 1 best solutions below

0
Algirdas Butkus On BEST ANSWER

I finally found easy to use library:

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