Time for action – creating a client side application
We are going to rewrite the application that Eclipse's wizard or Maven's archetype, depending on your preferred tool, generates by default. We are going to turn it into a pure client side application that you can use even without a web server. The steps to create a client side application are as follows:
Create a new Vaadin project with the name clientsideapp using your IDE.
Delete the generated UI class and any sign of the UI class in
web.xml
(that is, theserver
andserver-mapping
elements).Create a new entry point class for our application, please make sure you put your classes in the correct package (don't omit the
.client
part of the package as GWT expects this class to be in a package like this by convention):package clientsideapp.client; public class MyEntryPoint { }
Let this class implement
com.google.gwt.core.client.EntryPoint
:public class MyEntryPoint implements EntryPoint { @Override public void onModuleLoad() { } }
Implement...