Did you read about Service Locator design pattern? I am sure you would. So just imagine how it stores references to the Home stubs! getHandle() actually provides you with the serialized version of the Home stub, which you can cache or store on disk for later use. So you wouldn't need to go through the whole JNDI lookup process each time you need that stub.