Hi Ivan, the Jetty 9.x bundles and Aries Spifly have a dependency on JavaSE 1.8 and I only run the demos with 1.8+. The E4 demo even requires JavaSE 9 to run, but I didn't dig into, why this is the case. I think it should be sufficient to rely on the availability of the javax.websocket.server.ServerContainer and fallback to the "http-operation mode" if this it not the case. From the perspective of RAP there are not so much requirements. I just reused the RWTServlet with a faked Session/Request/Response and depend on the jsr356 APIs, which could certainly be achieved by using Java 7. The problematic question is, how to enable websocket support for the servletbridge and the httpservice.
Best regards Sven On 07.06.2019 10:33, Ivan Furnadjiev wrote: > Hi Sven, > > that's very interesting. Thanks for sharing you PoC. We discussed this > topic with RAP team several times, but never started the > implementation. What is the minimum Java version required? To support > as much as possible servlet containers, RAP is still based on Java 7. > Are there any specific requirements? > I'll look more into details at you PoC as soon as possible. > > Best regards, > Ivan > > > On 6/6/2019 15:13, Sven Uhlig wrote: >> >> Hi all, >> >> I would like discuss the idea for bringing websockets and RAP >> applications together. The goal is to encapsulate the network traffic >> of a RAP application within a websocket channel. >> >> To get a better understanding of what has to be done and to estimate >> the effort it will take, I already prepared a proof of concept that >> you can find at https://github.com/s-b-u/poc_websockets_4_rap. It >> should only spot the light on the points of interest and therefore is >> pretty dirty implemented. >> >> To my own surprise it wasn't such hard to get it working, but of >> course a bunch other requirements and dependencies need to be >> considered. So any feedback, advices and suggestions are highly welcome. >> >> thanks in advance >> >> s-b-u >> >> >> >> >> _______________________________________________ >> rap-dev mailing list >> rap-dev@eclipse.org >> To change your delivery options, retrieve your password, or unsubscribe from >> this list, visit >> https://www.eclipse.org/mailman/listinfo/rap-dev > > > _______________________________________________ > rap-dev mailing list > rap-dev@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe from > this list, visit > https://www.eclipse.org/mailman/listinfo/rap-dev
_______________________________________________ rap-dev mailing list rap-dev@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/rap-dev