Hi,

I have been using the GWT code-generation facilities to create a bunch
of simple data beans with get/set capabilities. I've noticed that,
ever-mindful of efficiency, GWT only generates code for beans it needs
i.e. beans that get used client-side via GWT.create.

As it were, my server-side beans are in several important respect
similar to my client-side objects, and I would like to use the same
framework to generate them. The problem is, of course, that since the
server-side beans don't show up in the client code, the generator
ignores them.

The ugly hack is to add a dummy reference in the client code (though
given how smart the compiler is, it needs to actually do something). I
was wondering if there is an elegant way to tell the generator to
generate beans no matter what.

Thanks!
BR
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to