Taking BootFaces for a spin

I love Java EE. It’s my platform of choice for enterprise applications development.  However, I have had a love hate relationship with its standard UI framework JSF, preferring to use Vaadin instead.

However, I have decided to take BootsFaces for a ride in my next project because I am beginning to feel Vaadin is bit too stiff for me when it comes to building responsive, mobile first applications. The BootsFaces project describes itself as “a powerful and lightweight JSF framework based on Bootstrap 3 and jQuery UI that lets you develop Front-end Enterprise Applications fast and easy.”

I must admit that sounds intriguing right? Continue reading “Taking BootFaces for a spin” »

Java UI framework Vaadin releases version 8

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);

now becomes

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” »