I'm facing the following problem:
my ServiceLocator caches the (local)home references of my EJB's (of course).
When I redeploy my EJB's, those references get invalid. If I invoke a finder on these references I get a NullPointerException.
Is there a way, to get out, if a home reference is valid or not, so that I could invalidate my cache ?
I forgot to mention, that my ServiceLocator is implemented as Web-Service (JBoss.net), which means, that it isn't an EJB.