Results 1 to 5 of 5

Thread: Using SWF as general purpose workflow engine

  1. #1
    Join Date
    Aug 2004
    Location
    Paderborn, Germany
    Posts
    24

    Default Using SWF as general purpose workflow engine

    Hi everyone,
    is it possible to use SWF as a general purpose workflow engine?. I have to evaluate wether SWF can be used as a stand-alone module that can be integrated into any environment (e.g. normal Web app, Rich Client). The problem is that I have to use a home-grown framework where I don't have access to a HttpServletRequest/HttpServletResponse object pair.
    Thus, I cannot simply call the handleRequestInternal method of the FlowController to use SWF.

    I dont' want to write my own Work-Flow engine for my project, cause I know SWF already and really like it.

    I think if you could use SWF without the FlowController, it might be possible. But maby I'm seeing things a little bit too simple :-) .

    Chris

  2. #2
    Join Date
    Oct 2004
    Location
    Atlanta, GA
    Posts
    38

    Default RE: SWF as general workflow engine

    I was asking about the same thing http://forum.springframework.org/showthread.php?t=15404. I got a little work done on the implementation I described, but have not had a lot of time to work on it recently. Seems like it would be useful to a lot of people since SOA / Rich client projects are getting more popular. Maybe I can finish it up this weekend.
    Last edited by robyn; May 16th, 2006 at 04:00 AM.

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

    Default

    SWF is completely decoupled from any particular 'protocol' (e.g. HttpServletRequest/HttpServletResponse), so it should be possible to integrate it into pretty much any environment. Obviously you would not be using the FlowController, since that is completely web specific. Take a look at the FlowExecutionManager class which manages actual flow execution (note that FlowController just delegates to a flow execution manager). The FlowExecutionManager is protocol independent, so you should be able to start from there.

    One thing to keep in mind though is that SWF was not designed to be a general purpose workflow engine. Page flow is a simple form of workflow. It lacks workflow concepts like a split and join. However, that being said, SWF is extremely flexible so with things like custom state types you would be able to go pretty far.

    Erwin

  4. #4
    Join Date
    Aug 2004
    Location
    Paderborn, Germany
    Posts
    24

    Default

    Thanks a lot for your replies!
    If I have a some free time, I'll experiment a little

    Chris

  5. #5

    Default

    Christian, maybe http://forum.springframework.org/showthread.php?t=14935 post can be of some use for you.
    Last edited by robyn; May 16th, 2006 at 03:58 AM.

Similar Threads

  1. Any open-source based generic Notification Engine???
    By spring04 in forum Architecture
    Replies: 5
    Last Post: Nov 3rd, 2005, 01:52 AM
  2. session size / general error page
    By lanala4 in forum Web
    Replies: 2
    Last Post: Aug 18th, 2005, 09:54 AM
  3. Replies: 1
    Last Post: Dec 10th, 2004, 10:03 AM
  4. which Template Engine
    By Gideon in forum Web
    Replies: 8
    Last Post: Nov 9th, 2004, 02:29 AM
  5. Replies: 0
    Last Post: Aug 17th, 2004, 03:34 AM

Posting Permissions

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