Event handlers that you typically encounter relate to server-side Java code. Consider this:
final Button testButton = new Button("Test Button"); testButton.addListener(new Button.ClickListener() { @Override public void buttonClick(ClickEvent event) { mainWindow.showNotification("I am server-side code!"); } });
As you said, you need to compile the GWT code only when you add a custom component to your code. Vaadin's built-in components are already compiled and placed in a jar file. Although sometimes your IDE may define your project as a GWT project and try to compile widgets every time you change the code, when you can ask it to be ignored.
If you are looking for alternatives to Vaadin, you can take a look at Echo2 .
source share