Em Ter, 2002-04-30 �s 05:50, Shaw, Chris escreveu:

> In the docs I cannot find an equivalent  * @jboss:ejb-local-ref-jndi so
> there must be another way to tell JBoss to use a local ref?

JBoss does not support local references using JNDI names. You should use
a <ejb-link> element (generated with a @ejb:ejb-ref tag) in ejb-jar.xml
and no need to add anything to jboss.xml (so no @jboss tags).

Using your example, just remove the @jboss:ejb-jndi-ref and everything
should be OK. You can lookup the reference in
java:comp/env/ejb/DepartmentLocal.

-- 
Ja ne,
   Pazu
   mailto: [EMAIL PROTECTED]

Anime Gaiden: de f�s para f�s, sempre.

Attachment: signature.asc
Description: PGP signature

Reply via email to