|
Try using "Service Locator Pattern"
The solution for the redundant and expensive JNDI
lookup process problem is to cache those service objects when the client
performs JNDI lookup first time and reuse that service object from the cache
second time onwards for other clients.This technique maintains a cache of
service objects and looks up the JNDI only first time for a service object. This
technique reduces redundant and expensive JNDI lookup process thus increasing
performance significantly. Service Locator Pattern implements this technique by
having a class to cache service objects, methods for JNDI lookup and methods
for getting service objects from the cache.
Best Regards,
Divya.
----- Original Message -----
|
- Home Object Caching Giju Thomson
- Re: Home Object Caching Rickard
- Re: Home Object Caching Krishnan Subramanian
- Re: Home Object Caching Duncan Alexander
- Re: Home Object Caching Divya
- Re: Home Object Caching Krishnan Subramanian
- EJBHome Factory - Home Object Caching Venkata Reddy Vajrala
- Re: EJBHome Factory - Home Object Caching Anton Tagunov
- Re: Home Object Caching Hu, Jinsong
- Re: Home Object Caching Krishnan Subramanian
- Re: Home Object Caching Dmitri Colebatch
