+1 to Filipe's great instructions!

You can use GWT Dev mode with Glassfish - just add a parameter to the
URL of your application: gwt.codesvr=127.0.0.1:9997 (or whatever your
GWT Dev mode port is)

e.g. http://localhost:8080/AppName/gwtHostPage.html?gwt.codesvr=127.0.0.1:9997

Has saved me countless hours of compilation time =)

On Oct 12, 6:09 am, Filipe Sousa <[email protected]> wrote:
> On Oct 10, 6:47 pm, Brausepaul <[email protected]> wrote:
>
>
>
>
>
> > Hi,
>
> > I worked through the GWT tutorial and GWT Designer tutorial and would
> > like to port a simple existing JSP/Struts 1 application to GWT. The
> > application persists its data to a HSQL database. Up to now I use
> > Glassfish 2 and Eclipse on a Linux computer for my personal
> > development needs. What is the best way to work and develop with the
> > software mentioned above? I found a few hints here and there (like
> > creating a standard dynamic web project and a GWT project, then
> > merging both together...tricky if you ask me) but nothing really
> > stable. So: Is there a stable, easy solution to work with Glassfish
> > and GWT in development mode?
>
> > Thanks in advance
>
> > Maik
>
> I have been using gwt and glassfish for some time. First download
> eclipse jee edition and install the glassfish plugin from Marketplace.
> Don't forget to add a new Server (File | New | Other | Server).
> - Create a new Dynamic Web Project and enable GWT in the project
> properties (Google | Web Toolkit). - Select the WebContent directory
> as the WAR directory (Google | Web Application).
> - Add a new Google Web Tookit Module
> - Add a new Entry Point Class
> - Add a new HTML page
> - Add a new Run Configuration for GWT
> - Compile GWT
> - Start the server
> - Add your project to Servers Tab
> - Deploy
>
> If you want a war file then File | Export | WAR file
>
> I you want to use the WebContent directly as deploy directory you can
> do this:
> - Create a new External Tool Configuration
> - Call asadmin with arguments deploy --force --properties
> keepSessions=false WebContent
> - Bind a key to this (I'm using the F1 key for deployments)

-- 
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.

Reply via email to