----- Original Message -----
From: Tom Davies <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 23, 2000 12:38 AM
Subject: Re: PortableRemoteObject.narrow


> public class PortableRemoteObject
> {
>      public static Object narrow(Object o, Class c)
>      {
>           return o;
>      }
> }
>
> Am I missing something?

I don't think I have to point out that PortableRemoteObject *is* a class
that is defined in the javax.rmi package!? To your point, when portability
is an issue, I delegate the narrowing of reference types to an adapter class
that supports the gray area of the spec. Unfortunately, it is starting to
gain more and more methods, as opposed to less and less.

jim

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