Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The Google Web Toolkit (GWT)[25] is a free, open source framework used to create JavaScript frontends to web applications. GWT application development has a twist, though: you write your applications in Java. To this end, Google provides the Google Plug-in for Eclipse; you develop and test in Java, and when your application is ready for deployment, GWT translates your Java into JavaScript. GWT allows you to run and test your application in hosted mode, which runs in Java, and in web mode, where you application is translated to JavaScript and then is run in a browser.
GWT supports JUnit with the GWTTestCase and GWTTestSuite classes, which both extend the JUnit TestCase class. GWT normally integrates with JUnit 3.8.2 and works with 4.6. GWT includes junitCreator, a program used to generate empty GWT test cases for a given GWT module. As a bonus, GWT can also benchmark your application. Because Java and JavaScript aren’t the same, you should test in both hosted and web modes.