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 javax.portlet.GenericPortlet
. Its init
method
saves you from writing a lot of boilerplate code. MVC portlets can upgraded
to Liferay DXP 7.0 without a hitch.
Upgrading a Liferay MVC Portlet involves these steps:
Liferay’s Upgrade Planner identifies code affected by the new API, explains the API changes and how to adapt to them, and in many cases, provides options for adapting the code automatically.
After upgrading your portlet, deploy it the same way you always do.
The server prints messages that indicate the following portlet status:
- WAR processing
- WAB startup
- Availability to users
You’ve upgraded and deployed your Liferay MVC Portlet on your Liferay DXP 7.0 instance. Have fun showing off your upgraded portlet!
Related Topics
Migrating Plugins SDK Projects to Workspace and Gradle