Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: WebFlow idea.

  1. #11
    Join Date
    Sep 2004
    Location
    Leuven, Belgium
    Posts
    1,853

    Default

    This "end current flow and retry in parent" logic is indeed supprisingly robust. The original Ervacon web flow system provided a "SubFlowBackNavigationExceptionResolver" that also implemented this.

    Anyway, it's still not a 100% solution and it does feel a bit "dirty". That's why we didn't add anything like that so far.

    Erwin

  2. #12
    Join Date
    Sep 2004
    Location
    Leuven, Belgium
    Posts
    1,853

    Default

    Just letting you guys know that we have added continuations support to the web flow system recently. This should be included in the preview 2 release that's coming in a few days.

    (For those not aware of continuations, read http://www-128.ibm.com/developerwork.../j-contin.html.)

    Continuations allow you to make the flow 100% robust during free navigation (refresh, back button, ...), even when using sub flows. They also make it possible to do cool things like have multiple browser windows open in the same flow (e.g. using CTRL-N)!

    We now have a system with pluggable flow execution storage strategies, so all of this is completely pluggable:

    * classic storage in the HttpSession (like in SWF preview 1)
    * server side continuations (stored in the HttpSession)
    * client side continuations (stored on the client)
    * ...

    And all of this even without any impact on the pages! Each flow in your app can also have a different storage strategy!

    So far we have only found 1 issue with this: application transactions don't work anymore when you're using continuations. We're not sure yet how we're going to tackle this. You could even argue "free browsing -- made possible by continuations -- is not compaticle with application transaction", so basically not supporting it. An advaced continuations storage strategy might also be able to work around the issue (e.g. clearing the token in all 'cloned' continuations in the storage when an application transaction ends).

    Any input you guys might have would be much appreciated!

    Erwin

Similar Threads

  1. Replies: 5
    Last Post: Dec 6th, 2011, 01:11 PM
  2. Replies: 4
    Last Post: Nov 21st, 2009, 04:43 AM
  3. ¿cómo configuro el Spring IDE Webflow con el eclipse 3.1?
    By iosev in forum SpringSource Tool Suite
    Replies: 9
    Last Post: Nov 28th, 2005, 08:10 AM
  4. Webflow does not use ContextLoaderPlugIn ?
    By Thomas Dudziak in forum Web Flow
    Replies: 1
    Last Post: Jun 30th, 2005, 05:29 PM
  5. Announcement: Spring IDE WebFlow Support Preview Release 1
    By Christian Dupuis in forum Announcements
    Replies: 0
    Last Post: May 20th, 2005, 08:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •