> everything in java is a reference.
I get that but it doesn't seem to work that way; I tried it out a bit.
Also, consider that you get some object from the session. Then you manipulate this object, say to display it, then the session object would also reflect the change! And you don't want that to happen always!
So I dunno if this is how its supposed to be.
Also, question, does casting create a new object? Just realized I have no idea if it does or not. Because if it does, then that might explain why instead of working with the original object that is referenced in the session, we're working with a new one.