> -----Original Message-----
> From: Martin Cooper [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 22, 2005 8:48 AM
> To: Struts Developers List
> Subject: Re: Infrastructure for concurrent processing within Struts
> Action classes
> 
> 
> On Mon, 21 Mar 2005 16:14:41 -0800, Bruce Woods
> <[EMAIL PROTECTED]> wrote:
> >  I am currently developing an application that is report 
> intensive.. The screens will require several "report" queries 
> to the database and I would like to be able to run the 
> queries in parallel, as part of my struts Action..
> >  The development team I am working with is in the process 
> of transitioning our home-grown MVC framework to struts. 
> Unfortunately, this is one piece that our existing MVC 
> supported that is lacking in struts. This "parallelism" was 
> integrated into the command processing infrastructure (which 
> is very similar to the Command Chaining being added in Struts 1.3).
> >  Any idea if any future struts infrastructure has been 
> designed that may support this type of parallelism ?
> > 
> 
> This doesn't sound, to me, like something a framework like Struts
> would provide. I would think that it would be up to your Action to
> invoke some (Struts-independent) method that handles the parallelism
> for you. (Think 'runInParallel(queries[])' or something of the sort.)
> In fact, since you already have code that can do this kind of thing,
> you might be able to just pull that out of your old framework as an
> independent component that provides the parallelism, independent of
> the Struts-ness of your new app.
> 
> --
> Martin Cooper
> 
> 
> > thanks,
> >  Bruce Woods
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> >
> 

I agree that it doesn't sound like Struts. However, when I saw that Command 
Chaining is going to be added to the framework, I thought I would add this to 
the discussion. Having gone down the path once before with our own framework, I 
was curious to see if anyone else had interest. Our "Command Chaining" evolved 
into a more general "Command Execution" framework whereby commands could be run 
in sequence or parallel.

Our company is currently "standardizing" around several open source projects, 
Struts being one of them. Struts is definitely more feature rich than our MVC 
framework, especially the validation and internationalization components.. 
However, the "parallel" execution of commands is currently the only thing we 
will miss.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to