i am a newbie. I am writing a webservice that takes in a request object REQ and sents back a response object RES.
i have the request object & response mentioned to be Serializable. The request object is in turn consisting of a String S1 and another object OBJ1 that has an a String and Array of String as its members.
Similarly RES is also composed of an OBJ2 that in turn contains array of Strings
I have 2 Qs:
1. Is it necessary to have the objects --> OBJ1 and OBJ2 also Serializable???
2. If i have defines an exception class should that also be made as Serializable???