473,395 Members | 1,678 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,395 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 3292
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...

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.