Any code that is only run server-side should be outside the packages
declare for compilation in your .gwt.xml file.

For example, if you have data structure classes shared by both client
and server, you can put them in a .shared package (and update
your .gwt.xml to compile this package).  However, your database
methods to store and retrieve these classes should be located
elsewhere, outside your .client and .shared packages.

Follow Jeff's link for more details.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to