Thanks guys. Can you direct me to any documentation of how to connect a JSE client to the server? Google doesn't turn up anything useful.
On Sat, May 3, 2014 at 8:24 AM, Niki Dokovski <[email protected]> wrote: > The only limitation in Apache Tomcat implementation of Java API for Web > Socket (JSR 356) is the missing http proxy setup for client connections. > This has already bean discussed in Tomcat dev lists and so far this is left > either for future spec definitions or users demand. The rest of the > implementation is fully functional within the JSR 356 definitions. > > Best Regards > Niki > > > Niki Dokovski | @nickytd > > On 03.05.2014, at 18:17, Romain Manni-Bucau <[email protected]> wrote: > > > 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 > >
