I am writing a GWT application and want to test this application both in the GWT shell and in Tomcat. The application uses different Eclipse projects for the GWT UI and for the business service layer.
I found out that this can easily be done if you use an Eclipse WTP dynamic web project instead of the standard Java project that is created by the GWT projectCreator.
Using a dynamic web project has the following advantages:
- It is possible to use external jars and other Eclipse projects from services that are implemented with the RemoteServiceServlet.
- It is easy to export a war file that can be deployed in any application server.
Read more →