This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes GWT and the fly likes Export GWT files to web project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Export GWT files to web project" Watch "Export GWT files to web project" New topic
Author

Export GWT files to web project

Jean-Christophe Blanchard
Greenhorn

Joined: Mar 12, 2011
Posts: 6
Hi,

I would like to use GWT in an existant web project of more than 10 years old which is based on JSP and spring.

In the first time i would prefer to not change the source (old) project because I prefer don't put mess there and also use GWT project in a dedicated project.


So my idea is to create a new GWT project wirth mock services.
After everything would work i would compile GWT project and export with an ant script the content (js, html, jar and classes : no sources exported just jars and compiled files) to the existing web project.
My existing project will just have a link, in an jsp, to an HTML file for accessing the GWT module.


Do you think it's a good idea and if it should work ?

Thanks for your answer



Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10491
    
    9

Jean-Christophe Blanchard wrote:
Do you think it's a good idea and if it should work ?

Yes. Sounds logical. It's even easy to try out. Just create a dummy GWT and do the redirect to see how it works. If it's fine then you can start on your real app.
One thing I am confused though. Once you have your GWT app ready, why not take the user directly there, instead through the old app?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Jean-Christophe Blanchard
Greenhorn

Joined: Mar 12, 2011
Posts: 6
Maneesh Godbole wrote:
One thing I am confused though. Once you have your GWT app ready, why not take the user directly there, instead through the old app?


Thanks for your support.
Why not taking user directly ?
The old app is now very big with several modules.
We can't change all the application and remove all JSPs, too long, so plan is to change module by module.
We start with a first module, if everything OK in production we could migrate other modules later.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Export GWT files to web project