This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes struts 2 default behaviour to handle multiple requests Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts 2 default behaviour to handle multiple requests" Watch "struts 2 default behaviour to handle multiple requests" New topic
Author

struts 2 default behaviour to handle multiple requests

Jasvir Rupana
Ranch Hand

Joined: Oct 13, 2010
Posts: 52
Hi all,
if our application is having potential of getting thousands of concurrent requests, can we go with struts2 ? i am scared because by default struts creates new instance for new request. also i don't want single instance to handle all the request with threads .

any suggestions please.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8707
    
    6

There is no reason to expect Struts cannot handle thousands of concurrent requests. Creating Action instances is probably the least of your performance worries. You'll need enterprise-level hardware for both your application and database server (probably more than one per), a very fast network, an efficient design and so on. Our EnterprisePerformance FAQ is a good place to start.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Jasvir Rupana
Ranch Hand

Joined: Oct 13, 2010
Posts: 52
thanks alot Ess
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts 2 default behaviour to handle multiple requests
 
Similar Threads
How Action class instance will be created?
Clear my doubts please ...
struts2 thread safety and performance
single instance of servlet (interview question)
Servlet and Requests