I found the following overview interesting too:
http://www.over-look.com/site/index.php/documentation/techblog/item/gwt-2-1-tutorial-1-mvp-the-model
The DTO model described there seems a little involved. If I understand
correctly, there is a client-side and server-side version of the DTO
for each of your model objects. The role of the latter seems to be to
support JDO/JPA. I have recently moved away from JDO and am a very
happy user of Objectify. As a consequence, both my server (objectify)
and my client (gwt-platform) are type-agnostic when it comes to model
objets. So another question I have:
* Does using GWT 2.1 MVP model forces me to annotate all my domain
objects with @DataTransferObject and have them inherit from Record?
Cheers,
Philippe
On Jul 9, 2:31 am, "marius.andreiana" <[email protected]>
wrote:
> Hi GWT developers,
>
> There are some concerns on 2.1 MVP approach, which have been raised
> herehttp://groups.google.com/group/google-web-toolkit/browse_thread/threa...
> and
> herehttp://groups.google.com/group/gwt-platform/browse_thread/thread/862c...
>
> To summarize, here are some quotes:
> * It's extremely fast to build an initial scaffold (CRUD for all
> entities), but I'm not sure how easy it is to customize it for real
> world usage
> * When skimming the generated sources I saw A LOT of artifacts, which
> I don't feel comfortable with because it means that although
> "officially" my code is not coupled with Roo, if I were to drop it I
> would have to manage all these generated artifacts myself.
> * This expenses example is a nightmare to follow. The bindings/
> wiring of all the pieces both client and server is nuts.
> * In M2, things have been cleaned up a bit
>
> I'm just trying to make sure the final MVP implementation will be
> usable without Roo and without automatic code generation, and will be
> at least as easy to use and understand
> ashttp://code.google.com/p/gwt-platform/
> . Otherwise, should it be left as a separate project rather than
> default GWT approach?
> What do others, more knowledgeable persons than me, think?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.