Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Vaadin widgets in a GWT application

Tags:

gwt

vaadin

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.

like image 480
Bob Avatar asked Jan 16 '10 18:01

Bob


People also ask

Does vaadin use GWT?

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.

Is vaadin server side rendering?

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?

What is GWT widget?

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.


1 Answers

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.

like image 83
Kim L Avatar answered Sep 28 '22 02:09

Kim L