Clusterings Application Servers are designed to provide for just this case.
Weblogic and Silverstream are two that come to mind that support sessions
and clustering.

If a clustering application server isn't an option, I believe you have only
the two choices that were presented:
1.  Make sure your application isn't dependant upon sessions (work around
the LOCALE session issue)
2.  Use ip-stickiness in your load balancer and live with the single point
of failure.

Good luck.


-----Original Message-----
From: Renzo Toma [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 7:34 AM
To: [EMAIL PROTECTED]
Subject: RE: NewB: Is Struts completely reliant on sessions



True, but then you actually have a single-point again. Lose the server and
your stickiness is useless.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: vrijdag 20 juli 2001 16:41
To: [EMAIL PROTECTED]
Subject: RE: NewB: Is Struts completely reliant on sessions



Renzo, Felix,

If your front-end web server/load balancer (also known as Local Director or
Resonate, etc) is implemented to use IP stickiness, then this is a
non-issue since the Web user will be returned to the server which serviced
the original request.

Brian





                    "Renzo Toma"
                    <renzo.toma@x        To:
<[EMAIL PROTECTED]>
                    s4all.nl>            cc:
                                         Subject:     RE: NewB: Is Struts
completely reliant on sessions
                    07/20/2001
                    05:40 AM
                    Please
                    respond to
                    struts-user







Hi

As long as you carry over all properties to the next request using form
elements (text, hidden, ...), you will only miss the LOCALE session
variable. But you set that by subclassing ActionServlet.

Actually when you stay away from wizard-like/multipage forms, you'll be
fine.


Renzo

-----Original Message-----
From: Felix Ulrich [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 20 juli 2001 11:29
To: [EMAIL PROTECTED]
Subject: NewB: Is Struts completely reliant on sessions


Hi

We have to build & deploy some web applications with
JSP/Servlets on an 
cluster.  At the moment,
though, I don't think we can guarantee session
affinity (i.e. subsequent requests will end up on
different machines), and it seems that Struts uses
sessions quite heavily.

Am I right in thinking that sessions are a
pre-requisite of using the Struts framework?  Is there
any part of Struts I could still use without sessions
(e.g. some of the taglibs maybe)?

Thanks

Felix.

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie







LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. 
It is intended for the addressee(s) only. Access to this E-mail by anyone else is 
unauthorized. If you are not an addressee, any disclosure or copying of the contents 
of this E-mail or any action taken (or not taken) in reliance on it is unauthorized 
and may be unlawful. If you are not an addressee, please inform the sender immediately.

Reply via email to