On 3/28/06, Werner Punz <[EMAIL PROTECTED]> wrote:
> Travis Reeder schrieb:
> > http://www-128.ibm.com/developerworks/java/library/j-cb03216/?ca=dgr-jw22StatelessWeb
> >
> > It would be interesting to take a look at working this type of thing
> > into MyFaces.  We are already doing some of this stuff with the session
> > state saving to help with the back button, but I wonder if it could be
> > taken a step further and persisted for long periods.  It could go a long
> > way in making JSF more scalable.
> >
<snip/>

Incidently, the Jakarta Commons sandbox has components that deal with
both continuations [1] and state machines [2]. You're all welcome
there as well ;-)


>
> Ok to think this over:
>
<snap/>
>
> I think getting a stateful approach is better done the way shale
> and seam do it, by using the session for keeping conversations open in time.
> That does not resolve the back button issue however.
>

The Commons SCXML (State Chart XML) component is an implementation of
the namesake W3C Working Draft [3], and a while ago I had taken a
fancy to show how this plugs into Shale dialogs [4], and more
importantly, may be used to handle issues such as inconsequential
triggers [5] and browser navigation buttons [6] --based on my early
play time with Shale dialogs. I hope to take that beyond the prototype
stage at some point.

Come to think of it, SCXML opens the possibility to take one document
(a.k.a state machine) and have it make perfect sense to a Shale
dialog, a Spring webflow and a Seam pageflow doing similar things.

Plus, it gives a direct route from the modeling layer straight to the
runtime [7], for additional value.

-Rahul

(some long, possibly fragmented URLs below)

[1] http://jakarta.apache.org/commons/sandbox/javaflow/index.html
[2] http://jakarta.apache.org/commons/sandbox/scxml/
[3] http://www.w3.org/TR/scxml/
[4] 
http://jakarta.apache.org/commons/sandbox/scxml/usecases/scxml-in-shale-dialogs.html
[5] http://people.apache.org/~rahul/shale/dialog-delegation/
[6] http://people.apache.org/~rahul/shale/align-dialog/
[7] http://people.apache.org/~rahul/CommonsSCXML.pdf (page 2)

Reply via email to