- Why is DeploymentException a checked exception instead of
RuntimeException ?
- WebSocketContainer.connecToServer javadoc says:
Connect the supplied annotated object to its server. The supplied object
must be a class decorated with the class
level|javax.websocket.server.WebSocketEndpoint|
<../../javax/websocket/server/WebSocketEndpoint.html>annotation.
Why would I use this method to connect to server when the URI can be
specified in the annotation itself ? Does it really mean
@WebSocketClient instead ?
- I think it'll be good to have connectToServer overloaded methods with
second parameter as String or may be just have that version only.
Thanks,
Arun
--
http://twitter.com/arungupta
http://blogs.oracle.com/arungupta