Hello all,

I am an XDoclet newbie with a rather large project that I'm working on. I have an app with 100's (if not 1000's) of java files. None of them are not XDoclet tagged. We want to integrate XDoclet into our build and I'm trying to determine the best approach. The idea is to start on just our session beans and get XDoclet to generate the deploy descriptors for them. If all goes well then we will eventually use XDoclet to do all of our code generation.

Now I was originally thinking that I would take a modification of a recent source augmenter tool I wrote using ANTLR to update our source files and insert some basic tags like @ejb.bean and @ejb.resource-ref to get us off the ground. This would work with most if not all of our session beans allowing XDoclet to generate dd's pretty much matching what we already have. As we continue to develop we could update the .java source and put in more specific stuff like transactional attributes or whatever.

That was my 1st plan until I started toying with XDoclet and ran across the merge point stuff and figured out a little about the template language. That gave me a new idea. I thought that maybe I didn't have to augment the source at all and maybe I could use the template language to generate the basic dd stuff for all files that don't have tags. However I am still a newbie and I see certain challenges to this approach not having adequate documentation of the template language. (I did order a manual yesterday over Amazon.) The main challenge I saw was trying to emit the interface and home names inside a XDtEjb:ifIsAConcreteEJBean block. (That probably doesn't sound like newbie talk but I learn fast.) Anyhow, I went back online recently trying to find some good documentation on the template language and stumbled across the XDoclet GUI. I understand it helps you update .java source with tags and I saw the screen shots. I'm planning on checking this out as soon as I send this mail but I want to solicit the advice from experts so I don't waste too much time. What's the best approach toward what I'm attempting? Does the XDoclet GUI have batch update capability? You all have been so helpful on my last problem and I'm hoping you can help me here. Thanks in advance.

--
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
2101 Embassy Drive
Lancaster, PA  17603

Phone: 717-295-7977 ext. 621
Fax: 717-295-7683
[EMAIL PROTECTED]
[EMAIL PROTECTED]




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to