On Tuesday, May 1, 2001, at 09:31 PM, Nick Afshartous wrote:

> Hi,
>
> Several months ago on the struts-user list there was a discussion on
> automatically deriving Java classes from a datamodel and creating
> beans to be used in forms.  See:
>
>   [EMAIL PROTECTED]/msg01589.html
>
> In the interim we have done some prototyping work to define a datamodel in
> XML and XSLT stylesheets to generate Java code.

have you looked at texen (see http://jakarta.apache.org/velocity/texen)?
for source generation from xml, velocity is *much* better than XSLT 
stylesheets.

turbine has been using this approach to generate the kind of stuff that 
you're proposing for quite some time now (see 
http://jakarta.apache.org/turbine/howto/torque-howto.html).

- robert

Reply via email to