Vaadin 7 Arrives with GWT as an Integrated Component
Vaadin has released version 7 of its Java-based web application framework. The Vaadin 7 platform is the framework's first major update since 2009.
Java web application developers may find Vaadin 7 comparable with other frameworks like Wicket, JSF and Google Web Toolkit (GWT) and notice similarities and differences among them. In many ways Vaadin is similar to Wicket - the main difference is that Vaadin does not require the use of HTML templates. Likewise, the similarity between JSF and Vaadin is that they both are server-side frameworks; however Vaadin applications are programmed in plain Java requiring no XML configurations.
The Vaadin group has been a member of the GWT Steering Committee for over five years, and Vaadin 7 now includes GWT as its core component. In his June 2012 blog post, Lehtinen suggests that "Anyone who is building their apps using GWT today can move to Vaadin by simply replacing the jars in the project". Using GWT had some advantages over a traditional Vaadin application, depending on the use case. GWT applications can be made to work off-line, can support larger number of concurrent users (10,000+) where server-side state is not required, and have lower latency. However a traditional Vaadin-based UI running on a Java server or portal is almost certainly easier for a Java developer to build since it can be completely coded in Java.
The Vaadin development team has implemented 65 new features in addition to the inclusion of GWT. The framework's FAQ page mentions that Vaadin 7 is a single jar-file implementation following Java EE standards and it uses typical desktop UI programming patterns. The framework also leverages the support and feedback provided by the open source community consisting of over 40,000 active registered members.
InfoQ communicated with Joonas Lehtinen (CEO, Vaadin.com) to find out more about Vaadin 7.
InfoQ: Can you list five or six of the most useful features in the latest release of Vaadin from the view of new adopters of the framework?
My top picks list is pretty much the list at: https://vaadin.com/vaadin7
Out of those, my top-five ones are:
- Widget extensions allow adding functionality on top of existing widgets as independent extensions. For more info on this, see https://vaadin.com/wiki/-/wiki/Main/Creating%20a%20component%20extension.
- Sass compiler introduces long needed modularization of themes.
- Redesigned window API that makes Vaadin applications feel more like web applications and simplifies access to the http request and web page.
InfoQ: The report "The Future of GWT Report 2012" says that SmartGWT, GXT and Errai extend GWT while Vaadin complements it. Can you tell us more on that?
The GWT programming model has two levels of abstraction:
InfoQ: Developers using GWT complain that they have very few to almost no GWT books published recently. Given that background, how do you explain the importance of having the Book of Vaadin? And what are your plans to maintain or enhance its current Preview Edition?
We have been maintaining the Book of Vaadin since 2007. This has been a huge task, but we feel that top notch documentation is a very important part of any framework - if a feature is not documented, it is not useful for anyone.
The first full edition of the Book of Vaadin should be ready by early March as a free download for everyone. After that we'll continue to maintain it every time we add new features to the framework.
InfoQ: If the Vaadin development team is distributing a version of GWT which they are maintaining for Vaadin, how are they planning to keep this in-line with standard GWT?
The sources for the GWT version that we maintain are available at https://github.com/vaadin/gwt.
All of Vaadin framework is also available at https://github.com/vaadin/vaadin.
We only distribute releases for the Vaadin Framework (not for GWT), but since Vaadin includes GWT, it can be used as a drop-in replacement for GWT distribution - even if only client-side features of the framework would be used.
If you want to take a peek into GWT and Vaadin relationship from an architecture point of view, see https://vaadin.com/blog/-/blogs/vaadin-7-application-architecture.
InfoQ: The FAQ section on your web site includes a paragraph on “When should I not use Vaadin?” How does the size of an enterprise project influence the decision on adopting Vaadin?
Sometimes it does: Larger the project, more the benefits for the Vaadin developers. Building a very small application should be easy with almost any framework - including Vaadin.
InfoQ: The page "Who Is Using Vaadin" shows Finland hosting 34 showcases. USA that hosts six showcases is the next one on the list. What is a Vaadin showcase? Developers in 170 countries use Vaadin, so what will it take to increase the number of Vaadin showcases hosted in those countries?
Unfortunately our showcase map is very incomplete. When we started collecting the "who is using Vaadin" list, we just asked around to find about cases using Vaadin. Our headquarters are in Finland, so we heard of quite a few nice showcases from our local networks.
We would love to list showcases from all around the world. Anyone who has built something nice with Vaadin is encouraged to contact us for including them in our listing.
InfoQ: Do any non-JVM web application frameworks present competition to Vaadin? If yes, can you name them?
InfoQ: A professional developer may want to contribute to the Vaadin's codebase. What process do your team members follow for qualifying a potential contributor?
Most of the contributions to the Vaadin project come in the form of add-on components. This sets the bar low - anyone can contribute to the Vaadin directory at http://vaadin.com/directory.
When one wants to contribute to the core Vaadin Framework, they should submit their patch though the issue tracking system: http://dev.vaadin.com/wiki/SubmittingBug. One of the core development team members then picks up the patch, evaluates and tests it, and then submits it to our internal Gerrit review system where it is read and evaluated by at least one other developer from our core team. At the minimum, the patch often gets partially re-written during the process. All contributors are also required to sign a contribution agreement.
We are looking forward to making this process simpler by making our Gerrit system public and starting to accept pull requests from GitHub in the future.
InfoQ: We learn from your roadmap blog post that the Vaadin framework intends to follow a steady development process. Is the future process formalized? What does it look like?
We renewed our process recently - partly because of the delays in the Vaadin 7 project. We try to do more informal research projects on the side while continuing with the actual development. We hope that this allows us to make better estimates for the roadmap. The core process includes a monthly roadmap meeting where we set roadmaps for all products for the next three months. This internal process as a whole looks like below:
Figure: Vaadin's Development and Release Process
The development itself follows one or two weeks-long cycles, depending on the product feature. When we are getting closer to having something we could show to outside world, we do an internal development review; and if possible, we release an alpha or beta version to get feedback earlier on in the development process.
it's not correct that "SmartGWT...essentially just provide more (really nice) components and helpers within the programming model defined by GWT"
maybe SmartGWT LGPL just provide components (not so sure), but I'm sure that the SmartGWT PRO/Power/Enterprise versions add server-side library with a very effective programming model.
Book of Vaadin - Vaadin 7 Edition
Iordanis Giannakakis, Savvas Dalkitsis Aug 28, 2015
Ben Linders Aug 28, 2015