Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4611

Provide native integration with web containers' websocket support

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.0.0-beta2
    • 6.0.0-beta3
    • wicket
    • None

    Description

      I've played a bit with Jetty's WebSocket support and I've found out that it should be fairly easy to integrate it with Wicket.

      The ultimate goal was to create something like Ajax behavior that uses WebSocket as communication channel. The result is WebSocketBehavior which provides the ability to listen for text and binary messages sent by the client and WebSocketRequestHandler which can be used to push messages to the clients.

      The client side integration (the JavaScript part) extends wicket-ajax.js so it is possible to update Wicket components by pushing them as messages.

      The integration has been extended to support Tomcat 7.0.27+.
      There is also integration with Glassfish 3.1.x but there are some bugs in it and it doesn't work for now.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: