|
I am having great difficulty getting XDoclet to
work with JBoss accessing a local ejb in one jar from another jar (both in the
same deployment ear). I had all this working in JBuilder but have migrated
to allow auto-building, testing etc. The difficulty is that with the
following ejb.ejb-external-ref:
* @ejb.ejb-external-ref * view-type="local" * link="PKHolder" * ref-name="ejb/pkgen" * type="Session" * home="webforms.pkgenerator.ejb.PkHolderLocalHome" * business="webforms.pkgenerator.ejb.PkHolderLocal"
the only matching jboss element is jboss.ejb-ref-jndi eg: * @jboss.ejb-ref-jndi * jndi-name="PKHolderLocal" * ref-name="pkgen" This generates (in jboss.xml) <ejb-ref> <ejb-ref-name>ejb/pkgen</ejb-ref-name> <jndi-name>PKHolderLocal</jndi-name> </ejb-ref> The trouble is I need <ejb-local-ref>, I know that works as I used it with the JBuilder set up. Leaving it as above JBoss complains that it has an ejb-ref element without a matching element in the ejb-jar.xml file. Is there a solution to this that doesn't involve me manually changing the deployment descriptor since that was the whole point of using xdoclet and ant.
Thanks |
