You can use SyncProxy to test the GWT RPC services

See http://www.gdevelop.com/w/blog/2010/01/10/testing-gwt-rpc-services/
for details



On May 5, 9:28 pm, Eric <erjab...@gmail.com> wrote:
> On May 5, 12:33 am, Mike <m...@sheridan-net.us> wrote:
>
> > Hello
>
> > Am trying to write tests for my code, and want to ensure that any
> > class I write which extends RemoteServiceServlet;
> > however, I'm not quite catching on to what I need to do in order to
> > get a test to be runnable in that context...
>
> Have the servlet do all its work in another class, and test that
> class,
> I guess. One project I was later assigned to had made a suboptimal
> decision to do all the serious work of the application in Struts
> Action
> classes directly. Then, they tried to add web services, and now the
> services had to create Struts beans and actions.  Don't go that way.
>
> If you use a library like gwt-dispatcher, this is done for you
> naturally.
>
> Respectfully,
> Eric Jablow
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to