Details
-
Type: New Feature
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0-Alpha3
-
Fix Version/s: None
-
Component/s: JavaScript Client
-
Labels:None
-
Environment:ICEpush, ICEfaces
Description
If a user has multiple browser windows open in the same Ajax Push application (such as ICEfaces auction demo) it is possible that the Ajax Push notifications will cause the browser to issue concurrent requests to the server. This is not normally possible for a user, so many server-side frameworks are not thread-safe in these conditions (most frameworks are thread-safe against concurrent requests for different users).
In particular, JSF is not thread-safe under concurrent requests from the same user.
To guard against this, ICEfaces notifications can be queued.
In particular, JSF is not thread-safe under concurrent requests from the same user.
To guard against this, ICEfaces notifications can be queued.
Activity
Ted Goddard
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 2.0.0 [ 10233 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.1 [ 10259 ] | |
Fix Version/s | 2.0.0 [ 10233 ] |
Ted Goddard
made changes -
Assignee | Mircea Toma [ mircea.toma ] |
Mircea Toma
made changes -
Assignee | Mircea Toma [ mircea.toma ] | Ted Goddard [ ted.goddard ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.1 [ 10259 ] | |
Assignee | Ted Goddard [ ted.goddard ] |
Ted Goddard
made changes -
Assignee | Jack Van Ooststroom [ jack.van.ooststroom ] |
Ted Goddard
made changes -
Fix Version/s | 3.4 [ 10971 ] |
Ted Goddard
made changes -
Component/s | Push Library [ 10044 ] | |
Component/s | Push Server [ 10043 ] |
Ted Goddard
made changes -
Component/s | Push Server [ 10043 ] | |
Component/s | Push Library [ 10044 ] |
Ted Goddard
made changes -
Assignee | Jack Van Ooststroom [ jack.van.ooststroom ] |
Ted Goddard
made changes -
Fix Version/s | 3.4 [ 10971 ] |
Push-driven updates and user-driven updates in the same window will be automatically queued by JSF, the conflict occurs between push-driven or user-driven updates in distinct windows.
Another way to implement this is to provide a token-passing API that provides exclusivity to the caller.