Hi

which tomee do you use, we use (and we'll use) Tomcat implementation
which is actually good since totally rewritten (first version was done
by students based on servlets but today it has no more link with it to
be adapted to the spec).

Client part should be here too (defaults are hardcoded in tomcat
websocket API so no need of META-INF/services/*)

Well basically if you come with real examples we can maybe be more
precise. You can also ask tomcat guys to fix what you see as issue(s).




Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-05-03 16:51 GMT+02:00 Chuck Davis <[email protected]>:
> For background:  I believe websockets finally give Java clients equal
> access with browsers to Java servers.  For too long java clients have had
> ridiculous connectivity limitations and overly complex requirements that
> have been apparently erased with websockets implementation.
>
> I would like to create a websocket connection from my JSE application
> (implementing JavaFX) to Tomee.
>
> Unfortunately, the websockets implementation in Tomcat is very incomplete
> (it only implements the browser implementation for understandable reasons)
> but the spec includes provision for connection of Java clients to Java
> servers.
>
> If you look at the documentation for ContainerProvider for example,  it is
> very clear that the implementation is to implement this class and the
> associated WebsocketContainer interface.  Yet our Tomee implementation does
> not include that implementation so we cannot make a connection from Java
> clients.
>
> I don't know which implementation Tomcat has chosen to include but I think
> Tomee needs something better -- more inclusive.
>
> Here's hoping I've missed something but my research so far indicates the
> necessary entries in META_INF are not present in the current websockets
> implementation -- I don't even know if the WebsocketContainer interface has
> been implemented -- I haven't been able to find out which implementation
> Tomcat has included or who wrote it.
>
> Does anyone else want to see the spec fully implemented in Tomee or am I
> the lone cowboy?
>
> CD

Reply via email to