Is it possible to use widgets from the Vaadin-framework from within a GWT application?
I know it works the other way round, which is also documented in the Vaadin docs. But I didn't find a descrption for integrating Vaadin widgets in an ordinary GWT application.
Vaadin used GWT to build a full fledged application framework. It is one of the main GWT based frameworks ( along with Errai framework) and provides some interesting capabilities like addons, themes, integrations with other Java frameworks such as Spring.
In Vaadin, the UI is always rendered in the server side (similar to JSF, where a component tree is created/updated and managed) or data is sent from server to client and the responsibility of building the interface is delegated to the client side engine?
You construct user interfaces in GWT applications using widgets that are contained within panels. Widgets allow you to interact with the user. Panels control the placement of user interface elements on the page.
Unfortunately no, at least not out-of-the-box. Vaadin uses a server-side architecture, which means that all the widgets' states are stored on the server and not in the browser's memory, hence making the widgets dependent on the server-side. The communication between a widget's client-side and server-side is implemented deep in the core of Vaadin, so I think it would require quite a lot of work to get the widgets to work in a pure GWT environment.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With