Before adding any bean object to session I serialize the object..
But now I see that serialize means you can store the bean in the web-inf\classes folders...
Do we use serialized beans just to store something in web-inf\classes or are they used to ensure proper transer to next page..?
Originally posted by Priya Shah:
If I have a user bean (serialized).. I add name,tel, etc to bean.
Add the bean to session. I add them to session because I want to ensure I dont loose the information .. which I could (??).. if I added a object like String to the session.
I guess I dont need to serialize the bean then (I assumed that beans had to implement serializable to be beans...)
Just adding get and set methods makes them a bean and no arg constructor?
What do you mean by > transer objects across the wire like writing remote url?
Do you mean using RMI or URL rewriting which creates dynamic URLs?