MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap
Revision 4 as of 2015-08-04 09:15:09
  • Java
  • GWT

GWT

GWT is a development toolkit for building and optimizing complex browser-based applications

  • http://www.gwtproject.org/overview.html

  • https://gwt-maven-plugin.github.io/gwt-maven-plugin/

  • 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
  • http://localhost:8080/gwtTestx-1.0-SNAPSHOT/

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
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01