Can anyone explain about the use of handles in ejb? I really cannot visualize a situation wherein we go for handles. Thanx in advance
Thanks,<br />Ram<br />SCEA-1,SCBCD,SCJP 1.4
posted 12 years ago
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.