cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Javent GmbH <>
Subject database action descriptor generator
Date Sun, 02 Sep 2001 18:13:30 GMT
I would like to have a generator, that automatically creates a database 
descriptor file and a form validation descriptor file.

Is this work in progress? If not, then I would like to write such a tool 
and contribute it to the Cocoon community. I am still a beginner with 
Cocoon and even with Java but I think that this little tool would be 
helpful and a good lesson for me to improve my knowledges.

My first idea is to use the methods of DatabaseMetadata to get the table 
names, column names and data types and then write them to a descriptor 
file using JDOM. All this could be contained in an XSP. This way, one 
could quickly generate a template database and form validation 
descriptor file, even for databases consisting of hundreds of tables.

Do you think, that such a generator is a good idea? Is somebody already 
working on such stuff? What about my ideas regarding the implementation?

I appreciate your comments.

Best Regards,
Mario Muja

To unsubscribe, e-mail:
For additional commands, email:

View raw message