I'm toying with websockets for Java clients (i.e. NOT browser based).
I have had success sending and receiving String objects. That,
however, is not too useful so I have been attempting to exchange a
developer object. Whenever I send it to the server endpoint the
container throws an exception which includes: "Text message handler
not found." If I include a String @OnMessage handler that is all that
ever gets called. Additionally, the exception message includes the
following: "decoders=[CoderWrapper{coderClass=class
com.yakridge.server.DOVariablesDecoder, coder=null, type=class
com.yakridge.common.DOVariables}" which seems to indicate the defined
decoder for my object is not being instantiated by the container ??
Does anyone have a link to a complete example that has an annotated
ServerEndPoint and ClientEndPoint for a developer designed object --
something more than merely a String or text?
Thanks for any direction.