See https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home.
2011/8/17 Daniel Guggi <[email protected]> > @spring you may have a look here (requestfactory + spring3 integration): > > http://jsinghfoss.wordpress.com/2011/08/10/gwt-2-2-0-requestfactory-spring-3-0-x-integration/ > > here an example pom (i use maven 3) > > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd"> > > <!-- POM file generated with GWT webAppCreator --> > <modelVersion>4.0.0</modelVersion> > <groupId>gwtapp</groupId> > <artifactId>GwtApp</artifactId> > <packaging>war</packaging> > <version>1.0-SNAPSHOT</version> > <name>gwtapp.GwtApp</name> > > <properties> > <!-- Convenience property to set the GWT version --> > <gwtVersion>2.3.0</gwtVersion> > <!-- GWT needs at least java 1.5 --> > <maven.compiler.source>1.6</maven.compiler.source> > <maven.compiler.target>1.6</maven.compiler.target> > </properties> > > <dependencies> > <dependency> > <groupId>com.google.gwt</groupId> > <artifactId>gwt-servlet</artifactId> > <version>${gwtVersion}</version> > <scope>runtime</scope> > </dependency> > <dependency> > <groupId>com.google.gwt</groupId> > <artifactId>gwt-user</artifactId> > <version>${gwtVersion}</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>com.google.gwt</groupId> > <artifactId>gwt-dev</artifactId> > <version>${gwtVersion}</version> > <scope>test</scope> > </dependency> > <dependency> > <groupId>com.google.gwt.inject</groupId> > <artifactId>gin</artifactId> > <version>1.5.0</version> > </dependency> > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>4.8.1</version> > <scope>test</scope> > </dependency> > <dependency> > <groupId>javax.validation</groupId> > <artifactId>validation-api</artifactId> > <version>1.0.0.GA</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>javax.validation</groupId> > <artifactId>validation-api</artifactId> > <version>1.0.0.GA</version> > <classifier>sources</classifier> > <scope>provided</scope> > </dependency> > </dependencies> > > <build> > <!-- Generate compiled stuff in the folder used for developing mode > --> > <outputDirectory>target/www/WEB-INF/classes</outputDirectory> > > <plugins> > > <!-- GWT Maven Plugin --> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>gwt-maven-plugin</artifactId> > <version>2.2.0</version> > <dependencies> > <dependency> > <groupId>com.google.gwt</groupId> > <artifactId>gwt-user</artifactId> > <version>${gwtVersion}</version> > </dependency> > <dependency> > <groupId>com.google.gwt</groupId> > <artifactId>gwt-dev</artifactId> > <version>${gwtVersion}</version> > </dependency> > <dependency> > <groupId>com.google.gwt</groupId> > <artifactId>gwt-servlet</artifactId> > <version>${gwtVersion}</version> > </dependency> > </dependencies> > <!-- JS is only needed in the package phase, this speeds up > testing --> > <executions> > <execution> > <phase>prepare-package</phase> > <goals> > <goal>compile</goal> > </goals> > </execution> > </executions> > <!-- Plugin configuration. There are many available > options, see gwt-maven-plugin > documentation at codehaus.org --> > <configuration> > <!-- URL that should be automatically opened in the GWT > shell (gwt:run). --> > <runTarget>GwtApp.html</runTarget> > <!-- Location of the develop-mode web application > structure (gwt:run). --> > <hostedWebapp>target/www</hostedWebapp> > <!-- Ask GWT to create the Story of Your Compile (SOYC) > (gwt:compile) --> > <compileReport>true</compileReport> > </configuration> > </plugin> > > <!-- Add source folders to test classpath in order to run > gwt-tests as > normal junit-tests --> > <plugin> > <artifactId>maven-surefire-plugin</artifactId> > <version>2.5</version> > <configuration> > <additionalClasspathElements> > > <additionalClasspathElement>${project.build.sourceDirectory}</additionalClasspathElement> > > <additionalClasspathElement>${project.build.testSourceDirectory}</additionalClasspathElement> > </additionalClasspathElements> > <useManifestOnlyJar>false</useManifestOnlyJar> > <forkMode>always</forkMode> > > <!-- Folder for generated testing stuff --> > <systemProperties> > <property> > <name>gwt.args</name> > <value>-out target/www</value> > </property> > </systemProperties> > </configuration> > </plugin> > > <!-- Copy static web files before executing gwt:run --> > <plugin> > <artifactId>maven-resources-plugin</artifactId> > <version>2.4.2</version> > <executions> > <execution> > <phase>compile</phase> > <goals> > <goal>copy-resources</goal> > </goals> > <configuration> > <outputDirectory>target/www</outputDirectory> > <resources> > <resource> > <directory>src/main/webapp</directory> > </resource> > </resources> > </configuration> > </execution> > </executions> > </plugin> > > <!-- Delete gwt generated stuff --> > <plugin> > <artifactId>maven-clean-plugin</artifactId> > <version>2.3</version> > <configuration> > <filesets> > <fileset> > <directory>src/main/webapp/gwtapp</directory> > </fileset> > <fileset> > > <directory>src/main/webapp/WEB-INF/classes</directory> > </fileset> > <fileset> > <directory>tomcat</directory> > </fileset> > <fileset> > <directory>www-test</directory> > </fileset> > <fileset> > <directory>.gwt-tmp</directory> > </fileset> > </filesets> > </configuration> > </plugin> > > <plugin> > <artifactId>maven-eclipse-plugin</artifactId> > <version>2.7</version> <!-- Note 2.8 does not work with > AspectJ aspect path --> > <configuration> > <downloadSources>true</downloadSources> > <downloadJavadocs>false</downloadJavadocs> > <wtpversion>2.0</wtpversion> > <additionalBuildcommands> > <buildCommand> > > <name>com.google.gwt.eclipse.core.gwtProjectValidator</name> > </buildCommand> > </additionalBuildcommands> > <additionalProjectnatures> > > <projectnature>com.google.gwt.eclipse.core.gwtNature</projectnature> > </additionalProjectnatures> > </configuration> > </plugin> > > </plugins> > </build> > </project> > > > > On Thu, Aug 18, 2011 at 12:32 AM, Mike Chai <[email protected]> wrote: > >> I'm new developing web applications with Java, so maybe this is >> implicitly known in the community but upon trying to search for >> integration for these 3 technologies I couldn't find a very >> straightforward answer. Some information is dated back to 2008ish >> where some people created "glue" to integrate gwt and spring, but I >> found some news on spring saying something about google integration >> into spring. >> >> Some of the tools also seem to be depreciated and redirect the user to >> codehaus' maven plugin, but on first look I can't find a download on >> it and it just links to google's eclipse plugin. >> >> tl; dr: what's the current standard for integrating these 3 >> technologies? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Web Toolkit" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/google-web-toolkit?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
