On Tuesday 27 May 2003 18:50, Matthias Bohlen wrote: > Hi Richard, > > yes, we are really using it. > > The trick is: XDoclet does not know at all about the *Impl classes. Look > at the build.xml file in the car-rental-system sample. We "patch" the > deployment descriptor with a <replace> task in Ant. This requires a > naming convention: Session beans must be named "Service" at the end. See > our web pages for details.
Argh. That's ugly :-/ Especially so because you lose the ability to manually override/add xdoclet tags in the *BeanImpl class. > Cheers... > Matthias > > P.S.: If you know a nice way to make XDoclet accept the *Impl classes, > we'll throw away the ugly patch. I think I know a way - but unfortunately, it involves writing new XDoclet EJB templates. Well, I guess I'll bite the bullet and change the existing templates so that they use tag inheritance everywhere. If I'm lucky, the XDoclet folks accept them for the standard distribution. If not, I'll simply include the changed XDoclet templates in my AndoMDA cartridge and tell people to put the AndroMDA cartridge on the XDoclet classpath first in order to override the standard XDoclet templates. In any case, expect a (much improved, IMO :-) new EJB cartridge sometime within the next couple of weeks (I know, I've said that before - but I didn't plan on having to write a second set of templates :-) Bye, Richard -- Richard Kunze [ t]ivano Software, Bahnhofstr. 18, 63263 Neu-Isenburg Tel.: +49 6102 80 99 07 - 0, Fax.: +49 6102 80 99 07 - 1 http://www.tivano.de, [EMAIL PROTECTED]
pgp00000.pgp
Description: signature
