Best practice for EJB Servlet integration?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Geordie_Ferguson
Posted On:   Wednesday, May 9, 2001 07:48 AM

I'm wondering what the best practice is for Servlet EJB integration in terms of caching the home and remote objects. My understanding is that the Home object is threadsafe and could therefore be cached as an attribute of the Servlet. This would remove the need for a JNDI lookup for each request. Similarly caching the ProxyObject would yield further savings. However, I have noticed that most examples don't use either of these practices. Why not?

Thanks in advance, Geordie

About | Sitemap | Contact