This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Cluster environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Cluster environment" Watch "Cluster environment" New topic

Cluster environment

vidya sagar
Ranch Hand

Joined: Mar 02, 2005
Posts: 580
Hi All

Is struts suitable for Cluster environemnt??

Is there any disadvantage for using struts in cluster environment??

Comments and good links if any are welcome....
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
A Struts application is really nothing more than a framework or utility for creating J2EE web applications. Once the application has been created, it is no different than any other J2EE web application, and can be used in a clustered environment no differently than any other J2EE web application. The information you read in any documents about J2EE applications in a clustered environment including advantages, disadvantages, tricks, and traps will apply without modification to Struts applications.
[ September 01, 2006: Message edited by: Merrill Higginson ]

Consultant, Sima Solutions
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

The strength of your cluster will depend upon the implementation of your server, not your Struts application.

Sometimes, when developing locally, people write info to file on the local system, which can get out of sync in a cluster, but that's not a Struts specific issue.

Certainly, Struts will not have a negative effect on HttpSession management or Servlet request failover. There are plenty of Struts applications running in clustered WebSphere environments, that I can assure you.


vidya sagar
Ranch Hand

Joined: Mar 02, 2005
Posts: 580
Thanks Merrill and Kameron
Don't get me started about those stupid light bulbs.
subject: Cluster environment
Similar Threads
Restricting multiple logins
HelloWorld error, struts 2
Singleton Pattern in Cluster
How to get nodeid in Java application in a clustered environment?