Hi!

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?

Yes, 'cause then one of them would be buggy ;-) 

The prefix is always "java:comp/env". The suffix is always the ejb-name
that is defined for the EJB-reference in the ejb-jar.xml file. So if
*you* specify "ejb/Foo" the name is going to be "java:comp/env/ejb/Foo",
and if *you* specify "Foo" the name is going to be "java:comp/env/Foo". 

There is no arbitray choice for the container to make. Everything is
deterministic.

Clear? :-)

/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]

Reply via email to