When using RMI the java objects are serialized and sent over the network using TCP protocol.

See also: Getting Started Using Java RMI

// Json