On May 5, 12:33 am, Mike <[email protected]> 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 [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.
