in reply to Replicating objects across a socket
Look at SOAP::Lite or one of the CORBA modules, which will let you do this in a language agnostic manner.