Widgets
You might think:
Reader: Cool! Vaadin can compile Java classes into JavaScript. But we didn't make any compilation of this kind in the previous chapters, and we created several applications.
Author: Well, in previous chapters we were using only server components.
Reader: Server what?
Author: Server components, or simply components, such as Label
, Button
, and others, they are Java classes which are not compiled into JavaScript.
Reader: That's obvious; we didn't make any compilation to JavaScript.
Author: That's right. Vaadin team performed the compilation for us and packaged the generated "widget set" inside one of the jars we are using.
Reader: Wait! What is a widget set?
Author: Oh, I'm sorry. I'm kind of a messy teacher. Well, what you see on the pages in your browser are widgets. A widget is like a piece of JavaScript that was generated by the Vaadin client compiler. A widget set, is then a collection of several widgets. At the end, the widget set is what the Vaadin client compiler produces...