If your bean has a different local-jndi-name, then you can lookup the local jndi name first, catch the exception and then try the jndi name for the remote interface home object. The remote and local home objects are different though which you will still have to account for in the rest of code.
Chris Thompson Bean-test Developer http://www.empirix.com -----Original Message----- From: daniel legziel [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 09, 2002 4:48 PM Subject: location transparancy Hello Fellows, my question: If location transparancy will not allow me to check if the object I am targeting is in my partition, is there a way to query the object directory anyway to get that info so that I can code a condition on either a remote or local invocation? Thank's Daniel _________________________________________________________________ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
