dcsimg
Ted / Anyone "Struts is not only thread-safe but thread-dependant."
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   devang_parikh
Posted On:   Wednesday, April 9, 2003 09:58 PM

The following description is given for the above statement.
"The response to a request is handled by a light-weight Action object, rather than an individual servlet. Struts instantiates each Action class once, and allows other requests to be threaded through the original object . This core strategy conserves resources and provides the best possible throughput. A properly-designed application will exploit this further by routing related operations through a single Action.
What does it mean ?
If my Action class is single threaded then how can i handle multiple request at a time ?

Re: Ted / Anyone "Struts is not only thread-safe but thread-dependant."

Posted By:   Christopher_Koenigsberg  
Posted On:   Thursday, April 10, 2003 07:15 AM

The point is that an Action class is NOT "single threaded".

About | Sitemap | Contact