ICEfaces
  1. ICEfaces
  2. ICE-5684

Allow bridge to order when responses are processed

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2, 1.8.2-EE-GA_P01
    • Fix Version/s: 1.8.2-EE-GA_P02
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Linux
      Glassfish 2.2.1
      Firefox 3.6 / IE 8

      Description

      When the ICEfaces application is configured to support asynchronous communication, there's no mechanism for the brodge to ensure that responses are processed in the order in which their requests are sent. We have a scenario where clicking on a link starts a page navigation. It also enabled addtional code in our server component which results in an asynchronous message (from our server application to the web application) that instructs a new tab on the page (being displayed) to be active. Because the original request is navigating to a new page, the response is quite large. The subsequent asynchronous request uses a server push to notify the browser to update itself.

      Within the web application in the server, everything appears to be processed in the correct order. The async render does not occur until after the initial request is handled. However, in the browser the response for the server push is handled before the original request's response is handled. This causes the application to behave incorrectly in the browser.

      When the application is configured for asynchronous communication, it would be good if the bridge could process the responses in the same order in which the requests were sent.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23060 Tue Nov 09 08:21:26 MST 2010 mircea.toma ICE-5684 Implement response ordering for the responses that carry updates (original patch from Ed Hillmann).
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/connection.async.js
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/ajax.js

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Ed Hillmann
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: