Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending Vector over network, do the elements have to be serializable?

Status
Not open for further replies.

ankursaxena

Programmer
Sep 7, 2001
133
US
Hi, If i have a class which has 5 strings and i have an array/vector of that which ia m sending, do I need to make my class serializable as well?

Thanks,
Ankur
 
Anything (any class) sent over TCP/IP via JRMP or RMI or whatever must be serializable. What serializable means is that the class data at that point can be converted into byte[] array data. Simple as that.

--------------------------------------------------
Free Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top