Reply to comment

noserver drawbacks

Yeah, one thing I noted in the article is that noserver is not the only way to do it, you can also munge the embedded Tomcat.

Even though noserver can be useful, it has two BIG drawbacks.

1. You aren't really solving the configuration problem, you are just moving it. Rather than having to muck with the embedded Tomcat stuff, you have to muck with an external server. In many cases this isn't a big deal, but if you want to SHARE your project, or you are working on a library module, etc, then you have to pass on the problem - you have to include instructions and dependencies and so on for the external setup.

2. The JUnitShell does not support noserver. This means GWTTestCase based tests don't work with noserver (these GWT tests ARE needed in many cases, as they are the only real way to unit test translatable objects and both ends of GWT RPC - another discussion but suffice to say just abandoning GWTTestCase is usually not appropriate either - except in rare circumstances where you don't use RPC, and you don't have any client side other than UI [meaning no model or controller on the client]).

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <img> <a> <em> <strong> <cite> <code> <ul> <ol> <hr> <li> <dl> <dt> <dd> <pre> <b> <h1> <h2> <h3> <blockquote>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
5 + 5 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.