2009/5/17 sid5 <siddharthchha...@hotmail.com>:
> We currently have a SOA based application with a struts front end.
> We have to invoke multiple webservices to get the data to render a single
> page.
> I was thinking of writing an Executor service inside an Action class or an
> Interceptor to do this.
> Is this the right approach ?

It's no so good to mess with threads on application server, as I
remember it's not allowed by servlet specification, you should use
given servlet specific approach.

> I would like the webservices to be invoked in parallel.

Why? If it's so slow, try to optimize them.


Regards
-- 
Lukasz
http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to