Vaadin and Liferay 6

I had the privilege to attend the Liferay Symposium in Frankfurt for the second time now. The symposium was very nicely organized, I guess mostly thanks to Laila Brown from Liferay for putting all the bits and pieces together for a very enjoyable conference.

From my point of view it was also extremely nice to see many projects using Vaadin being in production. There were all kinds of applications from big ERP system to simple portlets and mobile web applications. I hope we can see them listed later in our project gallery.

Noticed that most of the applications still run on Liferay 5 at this point. The version 6 is on its way to, but I fully understand the argument it might be too fresh updates. For production applications it is wise to be a bit slow on updates, but for the new projects it looks like the best choice already.

Vaadin, Liferay 6 and Liferay IDE

Anyway, my topic was the Vaadin development on Liferay 6. As some of you might remember I promised last year that next version of Liferay will include Vaadin by default. And now it does. We maintain the version included in Liferay trunk and provide the latest version there and you can start a fresh Vaadin project on a fresh Liferay 6 installation right away. 

At the same time Liferay has been working with the Liferay IDE. It is an all-in-one Eclipse plugin that manages your portlet plugin projects for Liferay. Among other things it makes Vaadin portlets a few steps easier again. 

I wrote short instructions about all this. See the updated instructions in the wiki for the latest tool setup.

Vaadin Control Panel for Liferay

There is also a new tool for all Vaadin users deploying to Liferay. The Vaadin Control Panel is a portlet that helps you to manage the portal-wide widgetset. This has become more important now when there are so many new widgets and add-ons in the Vaadin Directory that you want to use in the Liferay too.

Vaadin Control Panel for Liferay

You can download the control panel from the Directory too:

This is first version of the tool and we want to be sure that we are heading to the right direction with this.There probably are some aspects that we haven't considered yet (especially in the large clustered Liferay systems) And we would be more than happy to get some early feedback to push this tool to the right direction. Let's continue the discusstion at our forums.

The Future

While we support all portals via the portal 2.0 spec, Liferay 6 is currently the only portal that integrates Vaadin out-of-the-box. Like Liferay, we are an open source company and share much of the same ideology and we want to see open-source enterprise software being developed with the best tools on the market.

We are still trying to make things better and enhance the Liferay integration both in the core framework but also at the tooling level.

We already created a wizard for Vaadin application to be integrated into the Liferay IDE. The roadmap states that version 1.5 of the Liferay IDE is here before the end of the year, but probably there will be 1.2 even before that where you can try the new wizards.

Also we will include new features into the Vaadin Control Panel - most importantly the update system for Vaadin library itself.

Stay tuned...


This is great news! I hope Vaadin continues to improve Liferay support. I am working on a big project using Liferay 6.0.5 and Vaadin 6.4.x. Goes into production in the next week.
Posted on 10/29/10 9:01 PM.
As I know, Liferay 6 has been developed with its own UI framework called ALLOY UI. It's based on Yahoo! YUI 3.

I am curious what is the position between Vaadin and Alloy UI.
Posted on 11/9/10 8:41 AM.
You can use which better fits you and your competence. Long story short: Vaadin is a server-side Java library while AUI is based on client-side JavaScript. Both are a part of Liferay 6.
Posted on 11/9/10 9:07 AM in reply to Siddhant Madhu.
Hi. The AlloyUI based portlets use another styling. Is there a way/themeing available to let the Vaaidin components look like AlloyUI components e.g. the buttons etc.

It woud be nice to be able to use Vaadin portlets and AlloyUI portlets on the same page without the need to change the CSS etc.
Posted on 1/20/11 2:34 PM.
I am unable to find this portlet after adding to the deploy directory. Where can I find this? Thanks.
Posted on 5/16/11 8:06 PM.
Hi all!

Please, I'm looking for a basic example to use Liferay ServiceBuilder entities as datasources for Vaadin widgets...

Anyone can help me?

Thank you in advance!

Ivano C.
Posted on 11/10/11 5:49 PM in reply to Rowell Belen.
Quick question. I am new to Vaadin and Liferay. Does the Liferay IDE have Vaadin built into it? As well as AlloyUI?

Posted on 8/10/12 4:31 PM.