1. A resource-sharing computer system comprising: a type server that is adapted to providing information comprising proxy or stub code associated with an interface type to a first agent on demand during execution of the first agent, the type server returning the information comprising the proxy or stub code for storage in an in-memory table of the first agent.