users@tyrus.java.net

Re: Re: Using tyrus to run standalone websocket Server : Connectivity issues

From: <singh.kr.vivek_at_gmail.com>
Date: Tue, 25 Jun 2013 16:41:07 +0000 (UTC)

Thank You. I had to read javadoc carefully for Server class and it
makes sense now.

I was able to use annotations and get a sample chat room up very
quickly.

Javadoc for Server class needs a small update:

configuration - to be registered with the server. Classes annotated
with ServerEndpoint, implementing ServerApplicationConfig or extending
ServerEndpointConfig are supported.

should be read as

configuration - to be registered with the server. Classes annotated
with ServerEndpoint, implementing ServerApplicationConfig or
implementing ServerEndpointConfig are supported.

For future reference sample is located at
https://github.com/mail2vks/tyrus-sample