Friday, December 12, 2014

Re: GWT: Decoupling Client code dependency in Server Code

The client and server module should not know them each other at all.

If you have client interfaces that are implemented on the server (like the GWT-RPC service interface) then these interfaces belong into the shared module. For RequestFactory there are annotations that reference server classes by name instead via class literals, e.g. @ProxyForName("com.example.app.server.entities.Person") instead of @ProxyFor(Person.class).

If the above does not solve your issue you need to be more specific with your question.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment