--- Begin Message ---
Hi there,
I am using @ejb.ejb-external-ref to generate ejb-ref tags in my
ejb-jar.xml.
One example would be:
* @ejb.ejb-external-ref view-type="remote"
* link="XYZSessionBean"
* ref-name="XYZSessionBean" type="Session"
* home="my.import.XYZSessionHome"
* remote="my.import.XYZSessionHome"
It works quite ok. The entries in ejb-jar.xml look something like this:
<ejb-ref >
<ejb-ref-name>ejb/XYZSessionBean</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>my.import.XYZSessionHome</home>
<remote>my.import.XYZSessionRemote</remote>
<ejb-link>XYZSessionBean</ejb-link>
</ejb-ref>
That works as long as I look the EJB up under
'java:comp/env/ejb/XYZSessioBean'
However, I would like to use 'java:comp/env/ejb/sos' or
'java:comp/env/sos'.
I cannot figure out how to make xdoclet drop the ejb/ prefix. According
to the documentation there shouldn't be a ejb prefix anyway if
I specify ref-name="XYZSessionBean". I expected actually
'java:comp/env/XYZSessionBean'. I was just never fuzzed about the ejb
prefix, but now I really would like to change it. I tried ti modify the
ejb-ref.xdt - without success.
Can anyone help? Thanks in advance.
Cheers
Hardy
--- End Message ---