GWT
GWT is a development toolkit for building and optimizing complex browser-based applications
- cd \temp
mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo -DarchetypeArtifactId=gwt-maven-plugin -DgroupId=gwtTestx -DartifactId=gwtTestx -Dversion=1.0-SNAPSHOT -Dpackage=gwt.testx -Dmodule=ModuleX -DinteractiveMode=false
- Version used 2.7.0
Confirm properties configuration: groupId: gwtTestx artifactId: gwtTestx version: 1.0-SNAPSHOT package: gwt.testx module: ModuleX
- cd C:\temp\gwtTestx
- mvn clean install
- Deploy WAR in tomcat
Project structure
| pom.xml | +---.settings +---src | +---main | | +---java | | | \---gwt | | | \---testx | | | +---client | | | | GreetingService.java | | | | Messages.java | | | | ModuleX.java | | | | | | | +---server | | | | GreetingServiceImpl.java | | | | | | | \---shared | | | FieldVerifier.java | | | | | +---resources | | | \---gwt | | | \---testx | | | | ModuleX.gwt.xml | | | | | | | \---client | | | Messages_fr.properties | | | | | \---webapp | | | ModuleX.css | | | ModuleX.html | | | | | \---WEB-INF | | web.xml | | | \---test | +---java | | \---gwt | | \---testx | | \---client | | GwtTestModuleX.java | | | \---resources | \---gwt | \---testx | ModuleXJUnit.gwt.xml