I'll take a stab at joining this mid-thread...

> What files do you refer to with "the generate xml files"?

I'm guessing he means ejb-jar.xml, web.xml and the app-server specific xml
deployment descriptors (DDs).  What he's saying, is that if you open them,
there are useful comments for how to use merges in them.

> What does the notation "{0}" mean in "ejb-env-entries-{0}.xml"? I had
> not encountered this notation prior to looking into XDoclet.

if you have a bean

    com.mycompany.ejb.MyBean

then have a file

    mergedir/com/mycompany/ejb/ejb-env-entries-MyBean.xml

and its contents will be placed in the appropriate place in ejb-jar.xml

> How do you know which *.xdt files are templates for which deployment
> descriptors?

this is a tricki(er) one (o:  There's no hard and fast rule, but most of
them a apparent (although not obvious).  For example, have a look at
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xdoclet/xdoclet/modules/ejb/s
rc/xdoclet/modules/ejb/dd/resources/ and you'll see the various templates in
use for ejb-jar.xml.  These are complicated, and so use 'include' style
functionality....

> How was the file name "ejb-env-entries-SessionBean.xml" arrived at?

Hopefully the above answers this.  Its based on the name of your bean.

hth, also hope I haven't trodden on toes (o:

cheers
dim



-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to