Andrew Hill wrote:
Yep more memory and more time for the garbage collector - but in fact its
probably insignificant - your already creating an actionform (if its request
scoped) , a request object, and all sorts of other things as by products of
processing the request. This is just one more object.

JVMs now are much better at instantiation and garbage collection than they
were back when struts (and the servlet api) were originally designed.
Certainly to a point where if struts were being written from scratch now,
caching the actions and making them thread-safe would be a decision of
dubious merit.

SingleThreadedModel is deprecated in Servlet 2.4 IIRC.





Erik



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



Reply via email to