Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341763

Summary: Implement threadless life cycle
Product: [RT] RAP Reporter: Rüdiger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 1.5   
Target Milestone: 1.5 M1   
Hardware: All   
OS: All   
Whiteboard: plan-version=1.5 plan-theme=enterprise plan-status=committed
Bug Depends on: 342242, 342419, 342526, 342672, 342677, 342970, 343035, 343059, 343108, 343319, 343321, 343366, 343383, 344091    
Bug Blocks: 341761    

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.