Hello,

we have a tool called AuDAO (http://audao.spoledge.com) which
generates
DAO layer (including DTO classes) for GAE.
The source is a XML configuration file. The result classes use low-
level
Datastore API. Transactions and entity groups are supported.
Static GQL queries are transformed into GAE low-level API calls
during the generating code phase.

The generated DTO classes can be directly used as transfer objects for
GWT now.
But there also exist possibility to extend the code generation to
generate
methods which return XML or JSON representations.

Vaclav


On Jan 20, 4:44 pm, "andy.booth" <andy.booth...@googlemail.com> wrote:
> Hi
>
> My initial testing with Google App Engine used JPA, JAX-RS, Google
> GSON, Google Closure Templates - elegant REST development, but it
> wasn't the quickest loading or serving app. Everything loosely
> coupled, lots of class path scanning, compiling of templates on the
> fly.
>
> So I've ditched the frameworks and gone for all base APIs - direct
> streaming of XML (XMLStreamWriter) and JSON (streaming Jackson
> JsonGenerator). And using code generation (from an XML Schema, using
> Ant and currently XSLT 2.0 generator templates) to create speedy
> boilerplate code (hopefully) optimized for Google App Engine (no
> reflection, everything compiled and strongly typed).
>
> First page loading requests down to 1 - 2 seconds, rather than 10
> seconds plus with framework overload.
>
> That's using the code generation to create some base AtomPub type
> model classes and streaming some very basic XML.
>
> It's actually quite refreshing to keep it simple.
>
> (Sure, even simpler would be to hard code even the boilerplate code,
> but this is aimed towards allowing me to quickly prototype support for
> a range of social type web protocols and feed types.)
>
> I wondered whether anyone else was looking into possible code
> generation for App Engine and Java? Which particular scenarios they
> felt it could be good to deliver? Which code generation tools?
>
> Andy
-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to