Back to the spec EJB 2.0 - 20.3.1.1 

"The EJB specification recommends, but does not require, that all
references to other enterprise
beans be organized in the ejb subcontext of the bean's environment
(i.e., in the
java:comp/env/ejb JNDI context)."

So I would say : comp name is a jboss (and surely others) hack and can
disappear

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf 
> Of David Budworth
> Sent: jeudi 31 janvier 2002 1:23
> To: Ara Abrahamian
> Cc: 'David Budworth'; [EMAIL PROTECTED]
> Subject: Re: [Xdoclet-devel] util objects and jndi/comp name
> 
> 
> Ok, so, you are saying that jndiName should be used in the 
> getHome/getLocalHome methods of the util class?
> 
> -david
> 
> 
> On Thu, 31 Jan 2002, Ara Abrahamian wrote:
> 
> > Well, speaking from my experience with orion and websphere 
> the global 
> > jndi name is always used. You can easily remap it in websphere for 
> > example. I don't know about other servers and in fact I've always 
> > thought there should be a magic about compname that I don't 
> know about
> > :o)
> > 
> > Ara.
> > 
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] 
> > > [mailto:xdoclet-devel- [EMAIL PROTECTED]] On Behalf Of 
> > > David Budworth
> > > Sent: Wednesday, January 30, 2002 11:47 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: [Xdoclet-devel] util objects and jndi/comp name
> > > 
> > > I would like to address the utility object and the jndi/comp name
> > debate
> > > for the getHome methods.
> > > 
> > > Is there a reason anyone can see not to use the JNDI 
> name?  Is going 
> > > through the COMPNAME faster on some appservers than using global 
> > > JNDI?
> > > 
> > > If there are no objections to always using JNDI name, then I'll 
> > > change the util code.
> > > 
> > > If there are, then does anyone object to getJNDIHome() 
> methods?  So
> > you
> > > can use the old one for COMPNAME, and new one for JNDI name.
> > > 
> > > But I'd rather just change the normal getHome/getLocalHome items.
> > > 
> > > Is there any case where we dont know it's jndi name?  I know on 
> > > jboss, we generate a JNDI name if there is no tag for it. 
>  Is this 
> > > true for everything? (I can't remeber if it's generated only in 
> > > jboss handler
> > or
> > > not)
> > > 
> > > 
> > > -David
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > Xdoclet-devel mailing list [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
> > 
> > 
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> > 
> > 
> > _______________________________________________
> > Xdoclet-devel mailing list [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
> 
> _______________________________________________
> Xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
> 
> 



_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to