How do you handle a bean?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, July 26, 2005 09:17 AM


If there are 100 beans in JNDI & the context.lookup() method takes time to lookup. How do you handle the situation to make it easy retrieval of the bean ?

Re: How do you handle a bean?

Posted By:   sachin_pochalwar  
Posted On:   Wednesday, July 27, 2005 07:46 AM

You can write class which will do JNDI initialcontext and lookup and caches the obtained object for the first hit. and returns the cached object in next hits...
About | Sitemap | Contact