, to which class type must it be narrowd? java.lang.Object ?
Regards,
Jens Stutte
-Ursprüngliche Nachricht-
Von: Dave Smith [mailto:[EMAIL PROTECTED]]
Gesendet am: Donnerstag, 27. Juli 2000 00:40
An: Orion-Interest
Betreff: RE: Getting remote objects
These are not exclusive
These are not exclusive, they are both required:
Context context = new InitialContext();
MyHome mh = (MyHome)javax.rmi.PortableRemoteObject.narrow(
context.lookup("HomeName"), MyHome.class);
It used to be permissible to just do
MyHome th = (MyHome)context.lookup("HomeName");
but the
Does anyone know what problems could occur if you used the old method?
What symptoms would we see if we were using the old method, but it
wasn't working?
Thanks,
--
Joel Shellman
Chief Software Architect
The virally-driven B2B marketplace for outsourcing projects
http://www.ants.com/90589781
PROTECTED]
cc:
07/26/00 Subject: RE: Getting remote objects
]
-Original Message-
From: Joel Shellman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 27 July 2000 9:51
To: Orion-Interest
Subject: Re: Getting remote objects
Does anyone know what problems could occur if you used the old method?
What symptoms would we see if we were using the old method, but it
wasn't