http://www.latoserver.it/java/socket_tcp/

qua cè spiegato tutto, cè anche l esempio che ti interessa

le stringhe cmq non devono essere serializzate, si inviano tramite stream... nel link cè spiegato tutto

ciao