This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
Hi, I have a question about WAS 5 memory-to-memory session persistence: If I have a user object stored in session in the begining the object created, Do I need to call session.setAttribute each time the user object got updated, so that it will be updated on other node? Thanks. David
posted 12 years ago
Yes, absolutely, positively. If you do not call setAttribute() it will most certainly NOT get updated. The same, by the way, applies for using a shared database as the session sharing mechanism -- if you don't call setAttribute() it won't get persisted! Kyle