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:
- Adapt the code to Liferay Portal CE 7.0’s API
- 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:
- 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 Portal CE 7.0!