-
1. Re: How to configure LocalEJB via XDoclet
jbosser2005 Feb 25, 2005 11:11 AM (in response to jbosser2005)I still have no clue why the following xml tags
<ejb-local-ref>
<ejb-ref-name>ejb/AdresseLocal</ejb-ref-name>
<local-jndi-name>ejb/AdresseLocal</local-jndi-name>
</ejb-local-ref>
are not generated automatically for jboss.web.xml.
In my Servlet I set up these XDoclet tags:
**
* Servlet Class
*
* @web.servlet name="Kundendaten"
* display-name="Kundendaten"
* description="Description for Kundendaten"
*
* @web.servlet-mapping url-pattern="/Kundendaten"
*
* @web.ejb-ref name="ejb/Kunde"
* type="Entity"
* home="de.aukt.interfaces.KundeHome"
* remote="de.aukt.interfaces.Kunde"
* description="Reference to the Kunde EJB"
*
* @web.ejb-ref name="ejb/Adresse"
* type="Entity"
* home="de.aukt.interfaces.AdresseHome"
* remote="de.aukt.interfaces.Adresse"
*
*
* @web.ejb-local-ref name="ejb/AdresseLocal"
* type="Entity"
* home="de.aukt.interfaces.AdresseLocalHome"
* local="de.aukt.interfaces.AdresseLocal"
*
* @jboss.ejb-ref-jndi ref-name="ejb/Kunde"
* jndi-name="ejb/Kunde"
*
* @jboss.ejb-ref-jndi ref-name="ejb/Adresse"
* jndi-name="ejb/Adresse"
*
* @jboss.ejb-local-ref ref-name="ejb/AdresseLocal"
* jndi-name="ejb/AdresseLocal"
But the <ejb-local-ref> is never put into jboss.web.xml... Is this probably a bug of XDoclet or do I misconfigure something here?
Sven -
2. Re: How to configure LocalEJB via XDoclet
anthropophagos Jul 19, 2005 10:36 AM (in response to jbosser2005)Hi!
I have the same problem. I read some other forum posts, and it seems to be a xdoclet error. I am curious if there is a fix to this.
Anyone can help?
AP -
3. Re: How to configure LocalEJB via XDoclet
vashistvishal Jul 20, 2005 2:00 AM (in response to jbosser2005)Yr detailed answer lies here.
http://www.amitysolutions.com.au/documents/XDocletChange-technote.pdf
This has been answered before on the mailing list.