> I get a ClassNotFoundException when I try to cast the input at this
> line
[quoted text clipped - 5 lines]
> other home made objects) in two separate packages depending on the
> project?
That will certainly be a problem, since client.Message is not the same
class as server.Message.
Instead of using two identical classes, why don't the client and
server share a single, common Message type?
Alternatively, use a custom mechanism for marshaling your messages,
one that isn't based on Serialization.
/gordon

Signature
[ don't email me support questions or followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e