Showing posts with label gwt. Show all posts
Showing posts with label gwt. Show all posts

Sunday, September 12, 2010

Html Host Page In GWT

For every GWT application, a html hosted page is required. This hosted page starts the GWT application. This hosted html page can be generated from Servlet or JSP.

Sunday, September 5, 2010

Creating more than one folder as client in GWT

The package does not necessarily have to be called “client,” and in fact, you can specify multiple packages to be considered for JavaScript by modifying your <module> by adding an extra <source path=""> tag. The client package is simply an implicit default value to help you out. See the full definition of modules here: http://code.google.com/webtoolkit/documentation/com.google.gwt.doc.DeveloperGuide.Fundamentals.html#Modules.
In GWT, package structure is divided in three folders: client, public, and server. Everything in client folder is converted to javascript. public folder contains resources like css and images while server folder contains services.
Moreover, all domain objects are placed in client folder as POJOs.