Hello All,
I have a pretty easy question... How can I test my home interface to see if
it is still valid?
I am trying to make my clients robust. When I initialize my clients I grab
all the home
interfaces of my beans and stuff them in a hashtable. If for ANY reason why
the JBoss container should
go down, and come back up while the client is still running. How can I make
sure that the home interface
which I have is valid (i.e. still points to the valid server JRMP remote
object) without actually calling the
create method. I have Home management all abstracted so my clients simply
request a Home interface and a Utility
class is suppose to return a valid Home interface. I would rather not have
to go the JNDI each time, because of
the extra lookup time when I have my servers deployed in multiple places.
I was using JONAS a year before and the "home.getEJBMetaData();" method
seemed to do the trick, throwing an exception
if not a valid reference anymore.
Thank you for your help!
Ty Hayden
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]