Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341763 - Implement threadless life cycle
Summary: Implement threadless life cycle
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.5 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: plan-version=1.5 plan-theme=enterpris...
Keywords:
Depends on: 342242 342419 342526 342672 342677 342970 343035 343059 343108 343319 343321 343366 343383 344091
Blocks: 341761
  Show dependency tree
 
Reported: 2011-04-04 07:05 EDT by Rüdiger Herrmann CLA
Modified: 2011-09-15 06:32 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rüdiger Herrmann CLA 2011-04-04 07:05:05 EDT
In order to enable transparent session failover for RWT it is necessary to provide a life cycle implementation that conforms with the servlet spec in that it does not create extra threads. The current RWTLifeCycle does create a socalled UI thread to be compatible with SWT. 
It should be possible to switch between the UI-threaded life cycle and the threadless life cycle.
Comment 1 Rüdiger Herrmann CLA 2011-04-18 16:22:28 EDT
A first iteration is in CVS HEAD. The life cycle is called SimpleLifeCycle momentarily, until a decent name is found. It is activate when setting the system property lifecycle=org.eclipse.rwt.internal.lifecycle.SimpleLifeCycle
Comment 2 Rüdiger Herrmann CLA 2011-07-05 05:47:55 EDT
Like the RWTLifeCycle, the SimpleLifeCycle now also disposes of the current Display (if any) when the session terminates.
Comment 3 Rüdiger Herrmann CLA 2011-09-15 06:32:33 EDT
Marking as FIXED as all relevant sub-tasks have been resolved.