In this paper we present a new infrastructure for building distributed applications that communicate through remote objects. The objects are available by the use of the Java RMI, enhanced by replication. Shared objects may be arbitrary complex with references to other objects allowing nested invocations. The replication process may be controlled and tuned by careful design of shared objects granularity, explicit synchronization operations, and replication domains definitions.