>
> Hi Subbu,
>         What is the significance of the following line.
> (CabinHome)javax.rmi.PortableRemoteObject.narrow((org.omg.CORBA.Ob
> ject)obj,C
> abinHome.class);
>
> I think this will be used in case of CORBA only....
>

No, you need to do this (instead of just doing a Java cast) for your
application to work with EJB servers that use RMI/IIOP. AFAIK, this is the
standard way of narrowing the objects you get from JNDI in EJB1.1.

____________________________________________________________________
Stefan Tilkov -- stefan(dot)tilkov(at)innoq(dot)com -- www.innoQ.com

>
> Rajan
>

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