I want to be able to have the same object do client-specific behaviour
when on the client-side (UI etc.), and do some server-specific
behaviour when on the server-side (database etc.). So I want the same
object to hold both a Widget (unused/null on the server side) and a
server-specific Java object (unused/null when on the client side).

To achieve this, do I have to create some dummy GWT "emulation" for
the unused/null server-specific object on the client side and can I do
the same for the unused/null "Widget" on the server side? Or does it
work straight out of the box when you put it in the "shared" package?
If not, what's the best way of making this work?

My reason is simplicity. I don't want to have to put their respective
client and server behaviours away from the object.

-- 
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