After a long period of development, Vaadin Ltd has released version 8 of the Vaadin Java UI framework with a slew of new features. The most notable changes can be found in the data binding API of the framework.
Based on Java 8, the latest Vaadin 8 release takes advantage of lambda expressions introduced in Java 8 to make data binding much much expressive and easy.
For instance, in the past, one needed a Container interface implementation to pass objects to the Grid component thus
List persons = Backend.getPersons(); BeanItemContainer container = new BeanItemContainer(Person.class, persons); Grid grid = new Grid(); grid.setContainerDataSource(container);
List persons = Backend.getPersons(); Grid grid = new Grid<>(Person.class); grid.setItems(persons);
I am personally very excited about this release because hitherto one had to rely on Matti Tahvonen’s Viritin addon to overcome the very verbose databinding Vaadin APIs.
Another awesome feature is that Vaadin 8 will now support the browser history API, meaning much more cleaner and search engine friendly URLs. Continue reading “Java UI framework Vaadin releases version 8”