struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Williams" <rj...@attbi.com>
Subject Re: Code generation
Date Tue, 23 Jul 2002 13:59:16 GMT
I have done some code generation to support the work I am doing.  I have
found that using XSLT and XML files is a good way to go.  It is very
flexible and easily expandable.  Also, I plan to eventually map the XML
structure to/from Java objects (which is easily done using Digester or
Castor or JAXB) and generate an application that allows the user to define
the XML files.  Ultimately, you end up with an application that builds
itself.

bob

----- Original Message -----
From: "Shane Witbeck" <shane@digitalsanctum.com>
To: <struts-user@jakarta.apache.org>
Sent: Tuesday, July 23, 2002 8:11 AM
Subject: Re: Code generation


> I have been thinking about building such a tool. Based on the schema the
> tool would start out by creating all the beans (ActionForms), actions, and
> basic views such as view all objects and add/edit forms. Once this is
> done, then customization based on the generated actions and views.
>
> I have looked at some of the code generators available on the resources
> page on the apache struts site and some people tend to be going in the
> direction of XSLT. This seems like a good approach because you can easily
> update the XSL stylesheet to reflect build releases, etc.
>
> Are there other projects that are not listed on the struts resource page
> that generate code? Im also interested in the communities thoughts on such
> a tool and solutions other than XSLT for code generation.
>
> Shane
>
> > "Elderclei R Reami" <reami@vertisnet.com.br> Mon, 22 Jul 2002 16:50:36
> >> I'd like to know if there's any tool out there to generate a Struts
> >> application, including view and model, based on database schema.
> >
> > Just wondering: I can see how tooling might generate a model (one or
> > more Beans) from your schema. But how would tooling be able to know what
> > view you want to provide, just from your schema?
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:struts-user-unsubscribe@jakarta.apache.org> For additional
> > commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message