Overview of building GWT apps with Polymer Elements
mainThis tutorial demonstrates how to build a modern GWT application (specifically a TodoList app) by integrating JavaScript-based Web Components into a Java GWT environment.
Key technologies involved:
- Polymer: A JavaScript library for building web applications with Web Components.
- Polymer Elements: A collection of widgets built with Polymer.
- GWT-Polymer-Elements: A Java wrapper (provided by Vaadin) that uses
JsInteropto allow Polymer Elements to be used within GWT projects.
The tutorial covers two main approaches to integration:
- Classic approach: Using widgets via
UiBinder. - Modern approach: Using
JsInteropelements.
By following this guide, you will learn how to manage responsive layouts, style elements with UiBinder, handle events, and implement a basic data model within a GWT/Polymer hybrid architecture.