473,408 Members | 2,477 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Java Session Managemnent (HttpSession) question: What do you do?

mlw

I have a question for Java/jsp/web guys

Say you have a cluster of Java boxes serving a web site from behind a load
balancer, what is your strategy:

Use a JDBC database, use local files and have the load balancer make
sessions sticky to particular servers, use files on a file based share, or
some other strategy? (Corba, RMI, etc.)

Mar 28 '07 #1
1 3294
Behind a load balancer? Make sure you enable sticky sessions then invest in
Tangosol Coherence.
"mlw" <ml*@nospamnoway.zzwrote in message
news:iI******************************@comcast.com. ..
>
I have a question for Java/jsp/web guys

Say you have a cluster of Java boxes serving a web site from behind a load
balancer, what is your strategy:

Use a JDBC database, use local files and have the load balancer make
sessions sticky to particular servers, use files on a file based share, or
some other strategy? (Corba, RMI, etc.)

Mar 29 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: jcs79 | last post by:
I want to use session attributes to save info on a user who wants to navigate my site. When the user logs in I use: HttpSession sess = request.getSession(true); sess.setAttribute("customer",...
2
by: michela rossi | last post by:
Hi, Wonder if someone can help. We have a client for whom we have to build a website that cannot use cookies. The server technology will be Unix, JSP/Java, Apache-Tomcat. Will be using J2SE, no...
2
by: adam | last post by:
Having spent nearly 2 years in win forms land the inevitable request came for me to "do some web pages". So being new to this bit of .net and having had a look around I can't see where the best...
7
by: Kikoz | last post by:
Hi all. It's a general question, just for the sake of curiosity: ..NET introduced ViewState as a way to keep the state across postbacks. I love it, use it all the time, blah blah... But Java...
17
by: Jan Kucera | last post by:
Hi. How can I join session or read Session variables if I have the SessionID (or anything what I can supply)? Imagine I have a external link from my webpages, which opens an application which...
11
madhoriya22
by: madhoriya22 | last post by:
Hi, I am getting this exception while deploying my web application. It is occuring for the attributes which I have set for the session. Here is the method which sets the session attribues :---- ...
7
by: judge82 | last post by:
please I am learning how to use servlet. here is my code package TestWebApp; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.util.*; public class...
8
by: inpuarg | last post by:
I 'm developing a c# (.net 2.0) windows forms application and in this application i want to connect to a java servlet page (HTTPS) (which is servlet 2.4 and which may be using Web Based SSO Sun...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.