I am using JBoss 2.2.2 and JDK1.3. But I am getting error:
java.lang.NoClassDefFoundError: javax/rmi/PortableRemoteObject
I have to cast after name lookup. Can anyone tell me what i should do to use
narrow()?
Regards,
Christine
[EMAIL PROTECTED] wrote:
> > When should I use PortableRemoteObject.narrow, and when should I not.
>
> If you use RMI/IIOP (Borland Application Server) then you need to "narrow"
> your classes, if you're only using RMI (JBoss), you can omit this.
>
> However, personally, I would include this code in all of my context lookups,
> because it increases the application portability.
>
> Regards,
> Roman.
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
--
Jia (Christine) Li
Department of Computer Science
University of Calgary
Tel: 403-2207140 (O)
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user