Hi there…

 

So we’d like to switch to xdoclet from harcoding DDs for jboss (partially because we’re looking to deploy on other appservers)

The first step is adding enough xdoclet so that we can generate equivalent versions of what we currently handcode.

 

I’ve played with reverse-xdoclet with limited success, and have mostly been working by hand.

 

There are certain DD tags I still can’t quite get, I was wondering if anyone could help…

 

First off, is there any general technique to query “what @ejb/@jboss code do I get this specific DD xml field”? Can you derive it from source, or is there some other model?

 

If not, can anyone help me with the following specific fields…

 

<ejb-jar>

    <display-name>

 

<ejb-jar>

    <relationships>

        <ejb-relation>

            <description>

 

<ejb-jar>

    <enterprise-beans>

        <entity>

            <query>

 

<jbosscmp-jdbc>

    <relationships>

         <ejb-relation>

             <foreign-key-mapping />

 

 

Finally, is there any way to suppress empty <description> tags (like in the <cmp-field> inside <entity>s or are they mandatory?

And is there any option to say “only escape this using CDATA if necessary”?  It’s not a big deal but it increases the human readability of the output (especially for those blank fields)

 

Thank you!

 

 

--

Kirk Israel

Refresh Software

T: 781.250.1621

 

Reply via email to