In figure a replicated repository
on host 5
would load all implementation classes from the central repository
at the initialization. After the initialization
the hosts in neighborhood 2 do not rely anymore
on the central repository.
A replicated repository augments the independence of a mobile agent, but it takes longer to start it, because all implementation classes must be copied from the central repository to the proxy. The start-up time of the proxy repository can be reduced, by an implementation as a cache instead of a replication as proposed in the next section.