Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » [WebSocket] Implementing a WebSocket Endpoint(Trying to implement a WebSocket Endpoint with RAP 3.0.2. What are the available options?)
[WebSocket] Implementing a WebSocket Endpoint [message #1726529] Mon, 14 March 2016 09:05 Go to next message
Eclipse UserFriend
Hello,

we're trying to implement a WebSocket Endpoint in a RAP project but have been unsuccessful thus far.

We have tried initally to use a JSR 356 library but have been unable to make the Endpoint implementation accessible since the Equinox HTTP Servlet Service is just for Servlets and doesn't allow Endpoints.

Then we tried to include the Jetty Websocket implementation in our sources but are failing to make it work for other servlet containers such as Tomcat.

Does any of these approaches have a chance? Are there easier ways of implementing WebSocket endpoint in RAP? What options do we have in general?

Kind regards,
Tiber Sept
Re: [WebSocket] Implementing a WebSocket Endpoint [message #1734625 is a reply to message #1726529] Fri, 10 June 2016 02:07 Go to previous message
Eclipse UserFriend
We had (have...) the same problem.
If you include the required internal jetty bundles to your RAP plugin, then it works in Eclipse's debugger but nowhere else... Under tomcat the application didn't start at all...
The only solution we've found was to create a simple web app (no RAP) that provides the websocket endpoint.
And our RAP application and the client part both connect to that websocket endpoint which acts as "man in the middle" and transfers data from one peer to the other. Not ideal, but it works so far.
Previous Topic:Dynamic css
Next Topic:Client error when closing an editor.
Goto Forum:
  


Current Time: Wed Oct 29 23:02:43 EDT 2025

Powered by FUDForum. Page generated in 0.03556 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top