Wicket
  1. Wicket
  2. WICKET-5423

Create IResource based implementation of Native Web Sockets

    Details

      Description

      At the moment Wicket Native WebSocket module provides WebSocketBehavior class that may be used by the application to send and receive websocket messages.
      It has the drawback that any message received in a websocket connection requires to get access to the page (IPageManager#getPage(int), PageAccessSynchronizer) to be able to notify WebSocketBehavior #onXyzMessage() methods. Thus WebSocketBehavior is very easy to use but not that well scalable when there is a high traffic in the web socket connection.

      With this ticket I want to introduce an IResource implementation that will provide the same APIs but will not have this drawback.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1d 1h 9m 1 Martin Grigorov 22/Nov/13 13:38
        Martin Grigorov made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Fix Version/s 7.0.0 [ 12322958 ]
        Fix Version/s 6.13.0 [ 12325564 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Show
        Martin Grigorov added a comment - Implemented. https://github.com/apache/wicket/tree/master/wicket-experimental/wicket-native-websocket/wicket-native-websocket-javax/src/test/java/org/apache/wicket/protocol/ws/javax/app demo app shows how to use it (Jetty 9.x/JSR356 + Wicket 7.x). https://github.com/martin-g/blogs/tree/master/wicket6-native-websockets also shows the same demo (uses Jetty 9.0 with Wicket 6.x)
        Martin Grigorov created issue -

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Martin Grigorov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development