views:

584

answers:

3

Hello

I'm a newbie to GWT (by the way being really impressed by it) and find it really attractive to a person like me with good knowledge of C++/.NET desktop technologies willing to write web applications.

I started my own project based on the generated sample from the GWT Eclipse Wizard. This project generates simple html page with panels and main module java class (with onModuleLoaded) simply creates widgets and embedd it to the page. Now my question is - how to organize the code/project to have multiple html pages and navigation between then. For instance, main html page has a login form and a login button. If credentials are provided and login button pressed, the GWT service is executed on server and browser is navigated to the 2nd html page. Are there any more sophisticated sample applications available of such scenarios?

Thanks

+1  A: 

I'd suggest the very good GWT Applications that comes with real cases examples. The sources are available for free. If you need deeper explanations of the concepts, you should buy the book. The sources are built with GWT 1.5 though.

rochb
+3  A: 

GWT is designed to reuse the same html page. This video is really helpful understanding the whole architecture: GWT Best Practices

Also take a look to this tutorial for more complex examples: MVP Architecture

Carlos Tasada
Thanks. I was thinking so and now my thoughts are acknowledged.
dominolog
A: 

Have a look at the "GWT / GAE Best Practices Project" blog and David Chandler's blog TurboManage.

Some keywords for a well structured GWT app:

Per Wiklander