Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Eclipse RCP - Jetty WebSocket server
  • From: Johan Van Noten <johan@xxxxxxxxx>
  • Date: Sun, 24 May 2020 17:23:07 +0000
  • Accept-language: nl-BE, en-US
  • Arc-authentication-results: i=1; 1; spf=pass; dmarc=pass action=none; dkim=pass; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed;; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CMNCBKpp4dTg4+bhIwc4dan/xgYvIDe171TYJZRrvwM=; b=YftsOlXUfx/J/WSq4jeV/B1o3yaQrWr54PE1Pu0PdbctQO3ykPGQKEheeiQeJ9yT7NPfwM9ApLXBKNKMlYvG+CziHacZxahOTUOun/uL2TkzJ63CCQHl9NjbVCb0smbN6i9L2EsfGD6I0MFV++zaDoXuFeZlJvE+y5pR1MYpcIZ2IUUudw1KU2cnAprnXy9rtKN+MSlntvAGFgeximMgvdMFaOkUOM2I7H7S6JeZ2qj4fy8jL19xRj2jZ3/pXZ/D5mD677Ii+nFHCuCumNXx8UnHN4PCWTMQa6CSPIV1IB3sHWhzX62d+nD4DFq5ZOGWdUuLPrKmMa+7t6TARPhurg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901;; cv=none; b=NRzou2UsBaBz3kVS0ufhkwFNgf2GgjKogVsRBo4xT3AWEU+tf2ZQSRwq2WQ+U/jIWiwo1jdr//8B415m6kPMmffoNOOUTYFnOejDLFkC3paPdK0IGWUDSMIGDBIpEA3MJyvwSniGq5XjctgGYVlklg2nzNQ92i4ARFb1qE5QkrgpMMj5p7qD9N9nnszBVBTAUxIhrmzRECJkX9iB4ta/bMYz+TNG9tt1WjyOpUTzV9xiPyXFi6+W1GjjbGR2sNAJWLNjsH0sH2u+3fdQO187Xe7VfeEExo7eTkH9dSZDYJrOr8QLMvUqFjQMZh075OTJb9e5w/NoqflYBFBNj33Bew==
  • Delivered-to: jetty-users@xxxxxxxxxxx
  • List-archive: <>
  • List-help: <>
  • List-subscribe: <>, <>
  • List-unsubscribe: <>, <>
  • Thread-index: AdYx7EQUCGHkaX0GTxi9+BtKHpsc3w==
  • Thread-topic: Eclipse RCP - Jetty WebSocket server

My intent:

I have an existing Eclipse RCP application.

I would like to interact with it from a browser.


My plan:

It seems a reasonable solution to use WebSockets.

The site in the browser uses JS to create a WebSocket client.

The RCP application hosts an embedded Jetty WebSocket Server.

Both can then send and listen on their WebSockets.


My status:

For now, I’m able to host an embedded Jetty Servlet container. Works fine.


My environment:

Eclipse Modeling Tools, 2020-03

Including Jetty 9.4.27

Amazon Corretto JDK 8 and 11 (tried both)


My problem:

I don’t have the packages for WebSocket Server available.

The plugins are not created using Maven.

I don’t see a way to install the required bundles in my Eclipse (and later move them to the RCP’s target platform).

I could download them (with their dependencies) from a central repository, but that feels inappropriate.


My question:

  • I guess my proposed approach using websockets is ok?
    Are there better alternatives?
  • Can anyone point me to an example of an Eclipse RCP with Jetty Embedded Websocket Server?
    I do have code examples, that is not the problem.
    The unavailability of the WebSocket server jars is the issue.




Back to the top