RE: using struts in a load-balanced environement

2001-03-30 Thread Doug Wright

thanks for all your great advice!

-Original Message-
From: Doug Wright [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 4:50 PM
To: [EMAIL PROTECTED]
Subject: using struts in a load-balanced environement


I am very curious about whether the struts framework could be
applied in a 'load-balanced' or 'webserver-farm' environment.  One of the
main requirements of the application I am currently working on is that it
function properly in such a distributed or load-balanced environment where
each request may or may not come from the same web server.
This obviously precludes us from using session and application
scopes in the application.  We have been using the database to maintain
state, but it seems like a very inefficient and dirty solution.
I would love to be able to use the model 2 architecture (and
specifically the struts framework), but it seems like most of the benefits
can only be had in an environment where the same web server will be used for
each request (our load-balancers support 'sticky-sessions' but these rely on
cookies and we don't want cookies to be a requirement for using the
application).
Am I missing something?  Is there a way to effectively use struts
and the session and application scope in a load-balanced environment? 
I greatly appreciate any advice that anyone has on this subject.
---DougWright



using struts in a load-balanced environement

2001-03-28 Thread Doug Wright

I am very curious about whether the struts framework could be
applied in a 'load-balanced' or 'webserver-farm' environment.  One of the
main requirements of the application I am currently working on is that it
function properly in such a distributed or load-balanced environment where
each request may or may not come from the same web server.
This obviously precludes us from using session and application
scopes in the application.  We have been using the database to maintain
state, but it seems like a very inefficient and dirty solution.
I would love to be able to use the model 2 architecture (and
specifically the struts framework), but it seems like most of the benefits
can only be had in an environment where the same web server will be used for
each request (our load-balancers support 'sticky-sessions' but these rely on
cookies and we don't want cookies to be a requirement for using the
application).
Am I missing something?  Is there a way to effectively use struts
and the session and application scope in a load-balanced environment? 
I greatly appreciate any advice that anyone has on this subject.
---DougWright