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]
> 
>

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

Reply via email to