I just got them working:
jboss.xml
<enterprise-beans>
<entity>
<ejb-name>USRUser</ejb-name>
<local-jndi-name>USRUser</local-jndi-name>
<resource-ref>
<res-ref-name>java:/lowroad</res-ref-name>
<resource-name>java:/lowroad</resource-name>
</resource-ref>
</entity>
...etc
And for session bean that makes use of the local EJB:
<session>
<ejb-name>USRUserSearch</ejb-name>
<jndi-name>USRUserSearch</jndi-name>
<resource-ref>
<res-ref-name>java:/lowroad</res-ref-name>
<resource-name>java:/lowroad</resource-name>
</resource-ref>
<ejb-local-ref>
<ejb-ref-name>USRUser</ejb-ref-name>
<local-jndi-name>USRUser</local-jndi-name>
<ejb-link>USRUser</ejb-link>
</ejb-local-ref>
<ejb-ref>
<ejb-ref-name>USRPersonSearch</ejb-ref-name>
<jndi-name>USRPersonSearch</jndi-name>
</ejb-ref>
</session>
</enterprise-beans>
This is supported by LowRoad 4.06 which I hopefully get out tonight. Even if you
don't use the LowRoad for project work, it does generate great examples to help you
learn all this stuff.
Jonathan
http://www.faraway.co.uk/tallsoft/lowroad
> Sorry, I meant I couldn't find local-jndi-name in
>http://www.jboss.org/j2ee/dtd/jboss.dtd.;
>----------------------------------------------------------------------------
>---------------------------------------------------
> Hello,
>
> Could someone please let me know what the dtd file should I use in
>jboss.xml for EJB2.0. I can't find local interfaces in
>http://www.jboss.org/j2ee/dtd/jboss.dtd.;
> Thank you in advance,
>
>alex
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorized copying, disclosure or
distribution of the material in this e-mail is strictly forbidden.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user