Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds

Vaadin Portlets in Liferay User Interface Development

Save for later
  • 60 min read
  • 2010-12-01 00:00:00

article-image

Vaadin portlets are developed with Vaadin framework. The Vaadin framework can also be used to develop standalone web applications. Liferay portal supports the Vaadin portlets.

In this section, we will write a Vaadin portlet for Liferay portal using the Vaadin Eclipse plugin.

Required software


Install the following software for the development environment, if they are not already there:

  • Eclipse Java EE IDE
  • Liferay portal 6.x.x with Tomcat 6.0.x

Configuring Tomcat 6.0 in Eclipse


If you have not already done so, configure Tomcat 6.0 in Eclipse as follows:

  1. Start Eclipse. Click on Window | Preferences.
  2. Expand Server. Click on Runtime Environment.
  3. Click on Add ....
  4. Select Apache Tomcat v6.0. Click on Next.
  5. Unlock access to the largest independent learning library in Tech for FREE!
    Get unlimited access to 7500+ expert-authored eBooks and video courses covering every tech area you can think of.
    Renews at $15.99/month. Cancel anytime
  6. Click on Browse and open the tomcat-6.0.x directory.
  7. Click on Finish.

Installing Vaadin Eclipse plugin


You can automatically create a Vaadin portlet prototype for Liferay portal with the Vaadin Eclipse plugin. Here is how you can install it:

  1. Assuming that Eclipse is open. Click on Help. Select Install New Software ...
  2. Click on Add ....
  3. Input Name: Vaadin, Location: http://vaadin.com/eclipse. Click on OK.
  4. Click on Finish.


The Vaadin Eclipse plugin will be installed. It will take several minutes.