struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <>
Subject Re: Struts2 threading in a Java EE application server environment
Date Tue, 19 Oct 2010 12:11:49 GMT
2010/10/19 Phil Adams <>:
> Hi Lukasz,
> Thanks for the information... I read about ExecuteAndWaitInterceptor
> but it seems as though that must create a new thread as well, since it
> also uses the BackgroundProcess class to execute the action, right?
> In this particular situation, I need to find a way for the action's
> execute() method to be called on the servlet container's original
> thread, rather than on some new thread created by Struts.

The only option is to write a custom interceptor that will base on
ExecuteAndWaitInterceptor but it will use the servlet container's
mechanism to create threads. There is no such functionality in EAWI.

+ 48 606 323 122
Kapituła Javarsovia 2010

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message