Hello,
XDoclet is a great product. However, I have one problem for which I haven't found any
answers.
How can I specify an <ejb-class> in the deployment descriptor if I want to use some
other class than the one from which the interfaces etc. are generated? I.e. if I have,
for example, an EJB named "ServiceBean", which holds all the XDoclet tags, but I want
to use a subclass of it as the actual bean class: for example, I want to have a
deployment descriptor like this:
<session >
<ejb-name>Service</ejb-name>
<home>ServiceHome</home>
<remote>Service</remote>
<local-home>ServiceLocalHome</local-home>
<local>ServiceLocal</local>
<ejb-class>ServiceBeanImpl</ejb-class>
...
</session>
where ServiceBeanImpl extends ServiceBean and provides implementations for abstract
methods.
Setting @ejb:bean generate="false" does not help, because I still want to generate all
the interfaces from the superclass.
Up to this point I have solved this problem by modifying file "ejb-body.j", but that
is not very flexible, so if there is some way to specify the ejb-class in a tag, that
would be a great help.
Sorry if this has been asked before, but I didn't find it in the mail archives or in
the documentation.
I am using XDoclet 1.1.2 and Ant 1.5 on a machine running Windows 2000 Server.
T: Ville Peurala
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user