Model, view, presenter I think I'm clear on (ha! yeah, sure), but I'm trying to understand the Server.class. It's described as "a completely standard backend with no dependency on GWT." (Their emphasis.) So what is that? Does that mean not a service interface and not a service Impl class? If so, where is the RPC coming in?
What I'm trying to do--what I think many would like to do--is test RPC methods without the RPC delay. Right now I do that by calling my ServiceImpl methods in my JUnit test. This often forces me to mock an HttpSession object and add an extra method so I can pass that in (since getThreadLocalRequest() is protected). Testing through my client would be preferable but the delay is a pain.
-- 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment