Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Export GWT files to web project

 
Jean-Christophe Blanchard
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Jean-Christophe Blanchard
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic