Why do we use PortableRemoteObject.narrow()?
I read about PortableRemoteObject.narrow() at many places, but I didn't understand the concept.
Can any body explain in simple form?
Mouli
-
Why do we use PortableRemoteObject.narrow() method? (4 messages)
- Posted by: Chandra Mouli
- Posted on: November 23 2002 01:38 EST
Threaded Messages (4)
- Why do we use PortableRemoteObject.narrow() method? by Gal Binyamini on November 23 2002 07:02 EST
- Why do we use PortableRemoteObject.narrow() method? by Amit Gupta on November 23 2002 08:19 EST
- Why do we use PortableRemoteObject.narrow() method? by Shailesh Sharma on November 23 2002 08:21 EST
- Why do we use PortableRemoteObject.narrow() method? by Chandra Mouli on January 13 2003 02:39 EST
- Why do we use PortableRemoteObject.narrow() method? by Amit Gupta on November 23 2002 08:19 EST
-
Why do we use PortableRemoteObject.narrow() method?[ Go to top ]
- Posted by: Gal Binyamini
- Posted on: November 23 2002 07:02 EST
- in response to Chandra Mouli
Some remoting technologies, unlike RMI, do not support remote polymorhpism. CORBA is one of them. Because CORBA wasn't design to work in a dynamic class loading environment (not exclusively anyway) it wasn't possible for it to implement this feature. Therefore, if you want to get an actual type rather than the declared type you have to narrow the stub yourself.
J2EE is generally designed to support transports other than RMI (such as CORBA' IIOP), you in order to be compatible you have to comply with these standards as well.
Gal -
Why do we use PortableRemoteObject.narrow() method?[ Go to top ]
- Posted by: Amit Gupta
- Posted on: November 23 2002 08:19 EST
- in response to Gal Binyamini
Gr8 !! u had given a very good explanation... -
Why do we use PortableRemoteObject.narrow() method?[ Go to top ]
- Posted by: Shailesh Sharma
- Posted on: November 23 2002 20:21 EST
- in response to Amit Gupta
good answer ! -
Why do we use PortableRemoteObject.narrow() method?[ Go to top ]
- Posted by: Chandra Mouli
- Posted on: January 13 2003 02:39 EST
- in response to Gal Binyamini
I understood your explanation
and thank you for your great explanation.
Mouli