Showing posts with label package. Show all posts
Showing posts with label package. Show all posts
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.
Subscribe to:
Posts (Atom)