It uses a templating engine typically used for web pages: webmacro
(http://www.webmacro.org).

(It also allows me to separate out and try new templates.)  It also
carries along a fair bit of baggage - database connection pooling,
logging classes, class generators etc...

The class generator originally generated custom java classes which
used the above utility classes - I wrote all this before j2ee came
into the picture...

I'd consider having it as part of the project, but it's got quite
a bit of extraneous junk (as you can see) which isn't really necessary.
It does work however.

FYI, I've got my problem figured out... I'm not sure what it was, but 
I resynced my cvs archive, rebuilt, copied all the xdoclet jars over
again, and it worked.  (Sigh - I hate it when I can't figure out a problem).

Russ

On Wed, Oct 03, 2001 at 08:52:32AM +1000, Dmitri Colebatch wrote:
> Russ,
> 
> I'd be keen to see it.  Are you interested in having it as part of a
> contrib module for xdoclet?  btw, how are you generating the source
> code?  There's a library call Jenesis (http://www.inxar.org I think) which
> provides a nice platform for code generation.
> 
> cheers
> dim
> 
> On Tue, 2 Oct 2001, Russell Chan wrote:
> 
> > On Tue, Oct 02, 2001 at 12:33:45PM +1000, Dmitri Colebatch wrote:
> > > On Mon, 1 Oct 2001, Russell Chan wrote:
> > [snip]
> > > > BTW, In case anyone cares, I have some utility classes which will generate
> > > > an xdoclet file from a database schema using metadata. (A template for the
> > > > templating engine, if you will).  Pretty useful for legacy databases.
> > > 
> > > this has been brought up a few times now... I've made one myself, but
> > > didn't go far with it.  Does it do table -> ejb, or schema -> ejbs?  Ara -
> > > perhaps we should create a contrib module for this sort of stuff?
> > 
> > In my case, you specify the tables that you want (properties file), so in my case 
> > it generates xdoclet files for 15 classes/tables.  
> > 
> > Russ
> > 
> 
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user

-- 
Russell Chan
Stable Network Technologies Inc.
PO Box 86079 
Oakville, Ontario, Canada
L6H 5V6

Email: [EMAIL PROTECTED]
Mobile: 416 822 5200
Fax: 416 867 7170

_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to