A method and system to provide easy access to factories in a naming
service. The system receives an indication that a factory is needed by a
client. A plurality of resolvers are checked in turn to find the factory
indicated. If a resolver that can provide the factory is found, the
factory is returned to the client. In one embodiment, resolvers register
with a resolver manager that performs the checking in response to a
naming operation. Because the resolver manager can access all registered
resolvers, access to the factories is independent of a class path of the
user.