Hi Arun,
how is this Tyrus issue?
Pavel
On 2/16/13 8:57 PM, Arun Gupta wrote:
> There is a discrepancy between programmatic and annotated endpoint.
> The following two code work in GlassFish b76:
>
> @WebSocketEndpoint(value="/websocket")
> public class MyEndpoint {
>
> AND
>
> public class MyServerConfiguration extends DefaultServerConfiguration
> implements ServerEndpointConfiguration {
>
> public MyServerConfiguration() {
> super(MyEndpoint.class, "websocket");
> }
>
> But annotated endpoint takes the URI as "/websocket" and the
> programmatic endpoint takes the URI as "websocket".
>
> The spec requires annotated endpoint URI to start with / but could not
> find anything around (may be I missed) programmatic endpoint.
>
> Arun
>