File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Struts 2 actions thread safe
Joined: Jan 13, 2010
Jan 17, 2010 16:28:54
2 actions are thread safe so for each request it creates a new object.
How come generating one more object does not impose a performance penalty in struts2?
author & internet detective
Joined: May 26, 2003
Jan 17, 2010 16:35:59
Creating objects is an insignificant amount of work compare to what the actions do. This "performance penalty" would be negligible.
OCA 8 book
How To Ask Questions The Smart Way
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: Struts 2 actions thread safe
Struts 2 actions and thread safety
multithreading in struts...
question about action class
action class instance
class variable safe in struts 2 action ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015