Meyer-Willner, Bernhard wrote:
Oh, why are you saying COMP_NAME doesn't work with JBoss? Of course it works, I'm using it on a daily basis.Anyway, regarding COMP_NAME. THis should work, as required by the spec, for JBoss, though it's a no-no. Currently you can't use COMP_NAME with JBoss. JNDI_NAME always works. I believe JBoss is smart enough though to figure out if you're a local client in the same jar and doesn't really use JNDI to do the lookup then.
What you probably aren't aware of is that the COMP_NAME referers to a name in the private java:/comp/env namespace. You need to add an <ejb-ref> for each bean you need to access in this namespace. XDoclet can do this for you, see my previous message about this issue.
--
Pz
-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now! Before the Holidays pass you by.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
