What is the scope of application object in JSP in a load balancing environment (ie Web farm). Can we design an Application object in this context.
-
JSP Application Objects in the event of Load Balancer (4 messages)
- Posted by: Girish Kumar
- Posted on: January 15 2001 08:37 EST
Threaded Messages (4)
- JSP Application Objects in the event of Load Balancer by Leo Shuster on January 15 2001 09:46 EST
- JSP Application Objects in the event of Load Balancer by Tyler Jewell on January 15 2001 09:53 EST
-
JSP Application Objects in the event of Load Balancer by Dave Wolf on January 15 2001 09:56 EST
- JSP Application Objects in the event of Load Balancer by Dave Wolf on January 15 2001 09:57 EST
-
JSP Application Objects in the event of Load Balancer by Dave Wolf on January 15 2001 09:56 EST
- JSP Application Objects in the event of Load Balancer by Tyler Jewell on January 15 2001 09:53 EST
-
JSP Application Objects in the event of Load Balancer[ Go to top ]
- Posted by: Leo Shuster
- Posted on: January 15 2001 09:46 EST
- in response to Girish Kumar
The Application Object is usually scoped to the Web server that it is running on, unless otherwise specified by the vendor. Most cluster implementations ensure that the requests that were handled by a specific server in the cluster will continue to be served by the same server. There may be more sophisticated implementations that maintain application and session states across the whole cluster but I am not aware of them. Maybe someone else can shed some light on the specifics?
Leo
-
JSP Application Objects in the event of Load Balancer[ Go to top ]
- Posted by: Tyler Jewell
- Posted on: January 15 2001 09:53 EST
- in response to Leo Shuster
The Servlet 2.2 specification makes some headway in requiring vendors to support this type of behavior. At this time, I know that WebLogic does not support "distributed" servlets. There are a lot of issues with making this work:
- distributed application objects
- synchronized ServletContext objects
- HttpSession synchronization (which WebLogic and most vendors already do)
Tyler -
JSP Application Objects in the event of Load Balancer[ Go to top ]
- Posted by: Dave Wolf
- Posted on: January 15 2001 09:56 EST
- in response to Tyler Jewell
You can simply use a load balancing router which supports sticky sessions. Most nice ones like LocalDirector can do this.
Dave Wolf
Internet Applications Division
Sybase
-
JSP Application Objects in the event of Load Balancer[ Go to top ]
- Posted by: Dave Wolf
- Posted on: January 15 2001 09:57 EST
- in response to Dave Wolf
Sybase EAServer supports the distribution of HttpSession objects across cluster memebers.
Dave Wolf
Internet Applications Division
Sybase