All portlet plugin types developed for Liferay Portal 6 can be upgraded and deployed to Liferay DXP 7.0.
Upgrading most portlets involves these steps:
- Adapt the code to Liferay DXP 7.0’s API
- Resolve dependencies
Liferay’s Upgrade Planner helps you adapt your code to Liferay DXP 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 DXP.
The portlet upgrade tutorials show you how to upgrade the following common portlets:
- Servlet-based portlet
- Liferay MVC Portlet
- Portlet that uses Service Builder
- Liferay JSF Portlet
- Struts Portlet
- Spring MVC Portlet
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 DXP 7.0!