This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
a)A session attribute can only be a data type that implements the serializable interface b)A container may throw an IllegalArgumentException in the setAttribute() method of HttpSession if the attribute is not Serializable.
which statement is true?Please help.Thanks in Advance
Thank you for quoting your source. I don't think that objects must be Serializable, but it must be a consideration if you are using a distributed environment, where sessions may be migrated. So neither a nor be are correct.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com