James Cook
                    <[EMAIL PROTECTED]        To:     [EMAIL PROTECTED]
                    M>                       cc:
                    Sent by: A               Subject:     Re: 
PortableRemoteObject.narrow
                    mailing list for
                    Enterprise
                    JavaBeans
                    development
                    <EJB-INTEREST@JAV
                    A.SUN.COM>


                    23/03/00 15:13
                    Please respond to
                    A mailing list
                    for Enterprise
                    JavaBeans
                    development








jim wrote:

>I felt the server should conform
>to the EJB 1.1 spec. The spec states that PRO.narrow is the mechanism for
>"casting/narrowing" remote object references. I want my beans to be
portable
>among as many servers as possible. Unfortunately, any servers that do not
>allow this function [no names ;-)] are not EJB 1.1 compliant. I have to
code
>around this limitation. This to me is the problem.

public class PortableRemoteObject
{
     public static Object narrow(Object o, Class c)
     {
          return o;
     }
}

Am I missing something?

Tom

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