I recently had a few problems with the JBoss 3.2.2 transition as I made
the foolish choice of starting to use XDoclet as well. The original
jboss.xml and ejb-jar.xml hand-built deployment descriptors had a few
failures under the new release so I thought I might as well transition
things over to get the pain over in one hit. At least in theory it
should allow future transitions to be easily and automatically made by
recompilation.

I hit a problem in that XDoclet 1.2b4 did not support the jboss.xml
element ejb-local-ref, necessary for accessing other EJBs by their local
interface where these EJBs were in another application space. I also
noticed after implementing the changes that the JBoss DTDs in the
current XDoclet bundle are a bit outdated compared to JBoss 3.2.2 DTDs
and don't declare the ejb-local-ref element. So I've provided a
walkthrough on fixing the problem until the XDoclet team update their
builds. You can get the PDF from
http://www.amitysolutions.com.au/documents/XDocletChange-technote.pdf.
It should also give you an idea of how to make changes for any other
customizations you might require.

Hope this is of use although it might be quick and dirty. I'll
eventually get around to writing a JBoss-centric guide to XDoclet use,
and the indirection between ejb-jar.xml and jboss.xml for newbies as
this seems to get the most questions (or causes the most confusion) in
the forums. However, I've got a few other things on the plate at
present.

Best regards,

*---------------------------------------------*------------------------*
| Jon Barnett                                                          |
| E-Mail: [EMAIL PROTECTED]                                           |
| Homepage: http://www.amitysolutions.com.au        Date:   25.10.2003 |
|                                                                      |
| 'Oïl certes, mes a hardi                                             |
| Te tieng quant çaiens iés venuz.                                     |
| Mout as or bien tes pas perduz,                                      |
| Qu'il ne puet estre en graingnor serre                               |
| Li frains que tu iés venuz querre,                                   |
| Que bones gardes a entor                                             |
| Mout t'estuet rendre grant estor,                                    |
| Si m'aït Dieus, ainz que tu l'aies.'                                 |
|     l.524,531 - La Mule Sans Frein, a Gauvain romance                |
*---------------------------------------------*------------------------*

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to