Hi,

I'm looking for some simple sample code that sets up a simple server and
deploys a Jsr 356 annotated endpoint.

On the client side I would do something like this:

WebSocketContainer container = ContainerProvider.*getWebSocketContainer*();

        Jsr356AnnotatedClient c = *new* Jsr356AnnotatedClient();

        Session session = container.connectToServer(c, *new* URI(
"ws://localhost:1234"));

        session.getBasicRemote().sendText("Echo");
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to