Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [rap-dev] RAP & JSR 356
  • From: Sven Uhlig <s-b-u@xxxxxxx>
  • Date: Tue, 11 Jun 2019 18:51:19 +0200
  • Autocrypt: addr=s-b-u@xxxxxxx; keydata= mQGNBFw0ru4BDAC6pOYExX8Ke/AKofewgV1mhZgwUeBJSun8Ev2rGjRtLzojTDwpt1/OTxt/ LUHrPPzEIprYvOHcV/S4iKvPrztJe9wcqvWZlHuHaJa4SJ+HHOluVWkqeL4rRNFR2qBWSfRK ycjy7tPRZWxUw4EbdKTdL2kzS7FWcXTgiMN0yRDvmknGmveIBXPWnyCxMqLc6CUQH22bQjrv B+zpWoh2JAxDYcCm9mPbZlEZUVzyHZgLyuet1SB58+/Qa7yxLDSFiWvjw9053DqCIWQHaSlO lPYappsSRpTj6irrrACLZCsALAyM85YOZuzYw6nJvXWM8KXVbtNmmP/VQQD0FFeMZ5bT3uZ8 7ilOmTAb47cA7uCclQ27wk56x7kysTZmNqgiYciko75nwa2VR1t1nfmEaOvb444V/qCmyw+o Be5Zf6Rq0nA9JQefmzSTerQqx9cTxwifZ1rxMl+5SvVJ6/A7pabi6JCNBJbRkKrRFFAFbzeT zoQhhXCL2DkgqmDApxHmFV0AEQEAAbQgU3ZlbiBCZW5ubyBVaGxpZyA8cy1iLXVAZ214Lm5l dD6JAbAEEwEKABoECwkIBwIVCgIWAQIZAQWCXDSu7gKeAQKbAwAKCRCluoBNkodp0S8NC/47 9C/+gkSI1hHf/oipfJOmkkKCEt7R/pclaqN6GAmMl0/409AYpbIuREC2cCXumjFB1JT2KwuV oTomk4ghi0JdAhrRY4HUZsVOL++TyNdR2bqRVDzdtK1maHCHPWEbs96Wf8yyAWQMMx+t0wzc QC2/hDkhGHO9fIEpr6amszYsco3qpAW+zGJScpmypfjk4AixHZ0fHR4I4IMkg2h7+PjUGcg8 WiiEtu/tePuwXDQgEILaOYUXwzIBjdexLU7U2FYJllrkHJp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1x+acNCuu4YwN jQPja2N455R2QpeufrSApE1BdT7ZmM+aLQxw7f46Kiad3Y/BoiKhG+xNdQmqUPCuhIKzw/pL FtFiNx3RbXFCoskuLG1HRP4J0VYInG/gwouWlyoZmBzFRXmnWaxWUT1LmLiCeRB7nGIkAe7t 3JID4iPv/PfDHcNuq/fa60ku8kxTajX/wBU50NAdizEkms8cC6FTuHbmTg69mn8S5DW36WlH bN1WmJYyrx9YLuWT
  • Delivered-to: rap-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/rap-dev>
  • List-help: <mailto:rap-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/rap-dev>, <mailto:rap-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/rap-dev>, <mailto:rap-dev-request@eclipse.org?subject=unsubscribe>
  • Openpgp: preference=signencrypt
  • User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

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@xxxxxxxxxxx
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@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/rap-dev



Back to the top