Some people suggest that the EJB home interface should be cache in the controller (e.g. Servlet) to avoid the JNDI lookup for each request. Should I cache the remote reference also?
I am looking for some sample code for caching the Home Interface. I will appreciate if some one may point me in the right direction please.
My E mail: knowledg_power at hotmail dot com
If you want to "cache" the remote interface you should cache the handle of the remote interface. And get the remote interface back using the handle