struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <pbened...@apache.org>
Subject Re: Struts 1 Thread safe action classes
Date Tue, 04 Nov 2014 21:13:09 GMT
Your service classes should be thread-safe to begin with. You don't need
multiple instances of a business service.


Cheers,
Paul

On Tue, Nov 4, 2014 at 3:08 PM, Sekar, Sowmya <ssekar@ucsd.edu> wrote:

> Hi,
>
> To invoke service classes from each method in the action classes, are
> there any other options to make it thread safe other than initializing them
> as local variables?
>
> Thanks, Sowmya
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message