In this scenario it is possible to do lookup as
ctx.lookup("java:comp/env/quux") for the home
interface reference.

PKD

Aaron Mulder wrote:
> 
>         I think what we're saying here is that all containers should put
> it under java:comp/env/quux if you call it "quux", and under
> java:comp/env/ejb/quux if you call it "ejb/quux".  Is that not the case?
> 
> Aaron
> 
> On Wed, 12 Jul 2000, Dan Christopherson wrote:
> 
> > But if your arbitrary name (quux, say) shows up under
> > java:comp/env/ejb/quux in one container and under /quux under another,
> > isn't that a problem?
> >
> > Dan Christopherson (danch)
> > STR Technical Architect (www.str.com)
> >
> > On Wed, 12 Jul 2000, Rickard [iso-8859-1] �berg wrote:
> >
> > > Hi!
> > >
> > > Wong Kok Wai wrote:
> > > > Which means the looking up of EJB using "java:com/env/ejb" is not
> > > > mandatory, and to me this means non-portability between containers.
> > >
> > > It does not. These names are chosen arbitrarily by the bean developer.
> > > The bean developer may choose to use the /ejb prefix convention, but
> > > this is not mandatory.
> > >
> > > Since this is a name that is chosen by the bean developer this has
> > > nothing to do with container portability. The bean developer may easily
> > > hardcode the string name of the referenced beans in his code, since this
> > > is something that will never change.
> > >
> > > /Rickard
> > >
> > > --
> > > Rickard �berg
> > >
> > > @home: +46 13 177937
> > > Email: [EMAIL PROTECTED]
> > > http://www.telkel.com
> > > http://www.jboss.org
> > > http://www.dreambean.com
> > >
> > >
> > > --
> > > --------------------------------------------------------------
> > > To subscribe:        [EMAIL PROTECTED]
> > > To unsubscribe:      [EMAIL PROTECTED]
> > > Problems?:           [EMAIL PROTECTED]
> > >
> >
> >
> >
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Problems?:           [EMAIL PROTECTED]
> >
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to