I built a simple application with the latest milestones of Roo and
GWT. 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.
As I understand from the generated code, It looks like the client-side
model is mapped to the server-side persistent model, which is good on
one hand because using the same model on both sides is a bad practice
for GWT-RPC, but on the other hand such "mapping" seems less safe in
the scope of type-safety. Also it looked like client-side operations
are mapped to server-side queries using strings, which is not type-
safe at all.
We should wait for some documentation before hypothesizing, but from
what it seems to me the GWT 2.1 MVP is quite different than GWTP (and
from GWT-MVP), and is not targeted to the same audience. I would say
it is targeted to developers who want to develop Spring-GWT
applications in a Grails/RoR way.
Personally I think I will use GWTP for the overall application
framework ("pages", tabs, code-splitting) and the GWT 2.1 data widgets
for the parts that make sense (search, sort, filter, browse).
My 2 cents...
Gabriel
On May 21, 7:16 am, Philippe Beaudoin <
philippe.beaud...@gmail.com>
wrote:
> I've seen it yes. You bet I'm curious... But it's very poorly
> documented for the moment. (Activities? ActivityManager?
> RequestFactories? Hmmm...) It also look like it will use a lot of
> automated code generation, and I'm not a huge fan of adding layers in
> my compilation process. I think Christian has experimented with Spring
> Roo a little, maybe he could tell us about it? Anyway, we'll wait and
> see.
>
> That being said, support for GWTP is not compromised in any way, since
> it's being actively used in a number of projects, so don't hesitate to
> us it in your project. For all I know, it's still the best MVP
> framework out there. ;) We will also make everything we can so that
> any cool new feature works with GWTP (like this server-side speed
> tracer, yummy!).
>
> Cheers,
>
> Philippe
>
> >
http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html#MVP_Fr...