struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Łukasz Lenart <>
Subject Re: Using Spring proxied Session Beans with the ExecAndWaitInterceptor
Date Tue, 15 May 2012 07:00:06 GMT
What I mean is that injecting something in ExecAndWaitInterceptor
which has brought scope can rise concurrency issue because the same
bean can be used in two different threads (ExecAndWaitInterceptor
thread and request thread). I would rather pack whatever is needed by
ExecAndWaitInterceptor and pass to it as a value object and inject
just stateless services.

That's what I mean by repackaging - to have my own context (a map of
values, a value bean, etc) that will be passed to
ExecAndWaitInterceptor and used by it in separation from other

And interceptors are singletons per package (<package/> tag in
struts.xml) and even worst ExecAndWaitInterceptor creates its own
thread ;-)

mobile +48 606 323 122, office +27 11 0838747
Warszawa JUG conference - Confitura

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

View raw message