Object objref = ic.lookup("HelloHome");

        if (objref instanceof ByeHome) {
                //can i do this ??
        }

        HelloHome home =  (HelloHome)PortableRemoteObject.narrow(objref,
                                            HelloHome.class);
        can i use instanceof on object returned by lookup.. before narrowing
it

        TIA
        Rishi Shehrawat

===========================================================================
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".

Reply via email to