Wednesday, April 1, 2009

Is Struts Thread Safe ?

  • Struts is not only thread-safe but thread-depenedent.
  • The response to a request is handled by light weight Action object, rather than an individual servlet.
  • Struts instanciate each Action class once and allows other request to threaded through the orginal object.
  • This core strategy conserves resources and provides the best posible throughput.
  • A properyly-designed application will exploit this further by routing realated operations through a single action.

No comments:

Post a Comment

Followers