velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Stevens <...@latchkey.com>
Subject Re: wrapping XML document as JavaBeans?
Date Wed, 03 Oct 2001 16:03:15 GMT
on 10/3/01 8:52 AM, "Brian Lloyd-Newberry" <newbeb@yahoo.com> wrote:

>  Some of you ( probably Jon ;P ) are probably wondering what I am
> using this for. The beauty of this is that I can write up some
> "velocity" data files that represent the data model that we will be
> using for an application and provide a very simple servlet to load them
> into the context to render against display templates. This allows
> developers to be working on layout at the same time I am working on the
> servlet <--> data interface with strong business rules. I also can
> seperate "presentation" data for objects out into these seperate files
> and merge it with data from the result set which has been piped into a
> collection of "metaobjects". I have also used this toolkit to implement
> a code generator for our business objects.

Most people populate data objects from an XML file or RDBMS.

This is exactly what Torque is for.

But, whatever floats your boat. If it makes you happy...

-jon


Mime
View raw message