On Jun 23, 11:45 am, Thomas Broyer <
t.bro...@gmail.com> wrote:
> I guess the upcoming "SingleJsoImpl" feature is rather useful for
> testing: you can use POJOs implementing the interface for testing, and
> JSOs in the app.
> The other advantage is that the interface can be shared by your client
> and server code and you have some "serialize to JSON" mechanism on the
> server-side; so your code looks the same on the client and on the
> server.
From my point of view, I would like to be as lightweight as possible
on the client side especially on communication. In a current GWT
project we have tons of DTO's and Entities and so on which are
transported via RPC's and which blow up the size of the client code (I
guess...)
So I think about how this could be done better... (and maybe more
generic)
> Note that you unfortunately cannot use a GWT generator to generate the
> JSOs from the interface at compile-time (generators run after the JSOs
> have been rewritten); but you could have one running in your IDE...
We use already an own written code generator (based on
openarchitectureware / xtext) for generating many pieces of java code.
That could be another part for generation...