A method and apparatus for adaptive replication of code units is
described. In one embodiment, the method comprises gathering run-time
capability and preference information for an application, client device
and server regarding an application service object; and directing
replication of at least one application service object from the server to
the client device based on the client, the server, and the application
run-time capability and preference information.