Hi Richard,
What's the disadvantage of using the existing JNDI lookup
mechanism?
-Dan
On 15 May 01, at 6:40, Richard Monson-Haefel wrote:
> "J. Matthew Pryor" wrote:
>
> > I do have a question about the design of Interfaces such that they can
> > easily be changed between local & remote, but I'll post that in a separate
> > thread
>
> [This problem has bothered me also, so I thought I would start the thread
> myself, if you don't mind. ]
>
> We need some mechanism for converting from the remote to local references and
> visa versa. Perhaps the following two methods should be added to the EJBContext.
>
> public interface EJBContext {
>
> public EJBLocalObject getEJBLocalObject(EJBObject remoteRef);
>
> public EJBObject getEJBObject(EJBLocalObject localRef);
>
> }
>
> Of course, this would only work if the EJBObject/EJBLocalObject being converted
> represented a enterprise bean that is actually deployed in the same container
> system as the enterprise bean making the EJBContext call.
>
> Richard
> --
> Richard Monson-Haefel
> Author of Enterprise JavaBeans, 2nd Edition (O'Reilly 2000)
> Co-Author of Java Message Service (O'Reilly 2000)
> http://www.jMiddleware.com
>
> ===========================================================================
> 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".
>
===========================================================================
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".