Multiple pages tutorial in Google Web Toolkit (GWT)

What I usually do in situations like this is design the webpage framework first. I’ll have a div for the header, side menu and footer. I’ll also have a div in my HTML for the main content. Example: <html xmlns=””> <head> <meta name=”gwt:module” content=”org.project.package.Core=org.project.package.Core”> </head> <body> <!– Load the JavaScript code for GWT –> <script … Read more

Best GWT widget library? [closed]

Do not bind yourself to ANY of these libraries. Use Vanilla GWT to create the structure of your project. In particular, use the MVP pattern and an Event Bus. Please, see google article to know how to best design your client application with GWT: Building MVP apps After, you can use any widget of these … Read more

“Servlet” (server-side) initialization code in GWT

You can add like mentioned in a comment a ServletContextListener. public class ServerConfig implements ServletContextListener { public void contextInitialized(ServletContextEvent event) { // Do stuff on startup. } public void contextDestroyed(ServletContextEvent event) { // Do stuff on shutdown. } } Now put the new class on the server side, you also ave to register the Listener … Read more