1) refactor your business logic (which usually returns a Serializeable object)
out of the GWT RemoteServeiceServelt,
http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/server/rpc/RemoteServiceServlet.html#RemoteServiceServlet(java.lang.Object)
GWT-RPC servlets already have the concept of a delegate. So you can easily put all your server side GWT-RPC methods in a different class that is not a servlet at all and the RemoteServiceServlet will delegate all RPC calls to that new class.
Thats also nice for testing, since you don't have to deal with servlets.
-- 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