This content has been marked as final.
Show 3 replies
-
1. Re: using ServiceLocator to cache RemoteHomes
scoy Mar 22, 2004 6:05 PM (in response to ahardy66)I would try having your ServiceLocator also implement javax.servlet.ServletContextListener and use its hook to clean up when the application is redeployed.
I'm assuming that contextDestroyed will be called in this scenario.
Steve Coy -
2. Re: using ServiceLocator to cache RemoteHomes
ahardy66 Mar 23, 2004 6:17 AM (in response to ahardy66)Thanks Steve. I'll give it a blast.
-
3. Re: using ServiceLocator to cache RemoteHomes
ahardy66 Mar 23, 2004 11:54 AM (in response to ahardy66)Actually I got it the wrong way around.
My service locator is in the war, and it's when I redeploy the EJB ear that all the cached RemoteHomes are invalidated.
So following your logic still though, is there some sort of ContextListener for the EJB ear?
The ear and the war are seperate.
Tx