All portlet plugin types developed for Liferay Portal 6 can be upgraded and deployed to Liferay Portal CE 7.0.

Upgrading most portlets involves these steps:

  1. Adapt the code to Liferay Portal CE 7.0’s API
  2. Resolve dependencies

Liferay’s Code Upgrade Tool helps you adapt your code to Liferay Portal CE 7.0’s API. And resolving a portlet’s dependencies is straightforward. In most cases, after you finish the above steps, you can deploy your portlet to Liferay Portal.

The portlet upgrade tutorials show you how to upgrade the following common portlets:

The tutorials provide example portlet source code from before and after upgrading the example portlet. Each tutorial’s steps were applied to the example portlet. You can refer to example code as you upgrade your portlet.

Let’s get your portlet running on Liferay Portal CE 7.0!

Upgrading a GenericPortlet

It’s common to create portlets that extend javax.portlet.GenericPortlet. After all, GenericPortlet provides a default javax.portlet.Portlet interface implementation. Upgrading a GenericPortlet is...

Read More

Upgrading a Servlet-based Portlet

Servlet-based portlets have little overhead and are easy to upgrade. This tutorial shows you how to upgrade them and refers to code from before and after upgrading a sample servlet-based portlet...

Read More

Upgrading a Liferay MVC Portlet

Liferay’s MVC Portlet framework is used extensively in Liferay’s portlets and is a popular choice for Liferay Portal 6.2 portlet developers. The MVCPortlet class is a lightweight extension of...

Read More

Upgrading Portlets that use Service Builder

Liferay Portal CE 7.0 continues to use Service Builder, so you can focus on your application’s business logic instead of its persistence details. It still generates model classes, local and remote...

Read More

Upgrading a Liferay JSF Portlet

Liferay JSF portlets are easy to upgrade and require few changes. They interface with the Liferay Faces project, which encapsulates Liferay Portal’s Java API and JavaScript code. Because of this,...

Read More

Upgrading a Struts Portlet

Struts is a stable, widely adopted framework that implements the Model View Controller (MVC) design pattern. If you have a Struts portlet for Liferay Portal 6.2, you can upgrade it to Liferay...

Read More

Upgrading a Spring MVC portlet

The Spring Portlet MVC framework facilitates injecting dependencies and implementing the Model View Controller pattern in portlets. If you use this framework in a portlet for Liferay Portal 6.x,...

Read More
0 (0 Votes)
Upgrading the Liferay Maven Build Previous