Vaadin Portlets in Liferay User Interface Development

1 min read

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. Click on Browse and open the tomcat-6.0.x directory.
  6. 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.

Packt

Share
Published by
Packt

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago