java - How to use websocket with Restlet framework? -


we have web server written in restlet framework, want implement websocket replace long polling design cause performance issue. checked restlet's forum , document, looks websocket no support yet , not in schedule.and don't want replace restlet other frame work since big change, comes out design proposals, , not sure 1 best:

  • start jetty server, , use jetty's websocket lib handle websocket connection;
    • prons:no need self develop websocket lib base on restlet;
    • cons: need have 2 server listening on different ports.
  • develop our own websocket lib based on restlet:
    • prons: no need start second server;
    • cons: big development effort.

we still investigating, appreciate sharing , valuable comments, thanks!!

websockets not supported yet in restlet framework, there issue opened : https://github.com/restlet/restlet-framework-java/issues/893


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -