This wiki does not contain official documentation and is currently deprecated and read only. Please try reading the documentation on the Liferay Developer Network, the new site dedicated to Liferay documentation. DISCOVER Build your web site, collaborate with your colleagues, manage your content, and more. DEVELOP Build applications that run inside Liferay, extend the features provided out of the box with Liferay's APIs. DISTRIBUTE Let the world know about your app by publishing it in Liferay's marketplace. PARTICIPATE Become a part of Liferay's community, meet other Liferay users, and get involved in the open source project. Sample Portlets
Table of Contents [-]
Liferay and its community provide sample portlets showcasing how to integrate a variety of frameworks, libraries and other technologies into Liferay Portal. This page lists the most popular:
Hibernate #
Samples demonstrating Hibernate for relational persistence:
- Sample Hibernate Portlet Discussion of this portlet sample.
Spring #
Samples demonstrating using Spring:
Service Builder #
Samples demonstrating using Service Builder:
DAO #
Samples demonstrating Data Access Objects.
JSP #
Samples demonstrating JavaServer Pages a simplified, fast way to create dynamic web content.
JSF Technologies #
Samples demonstrating Java Server Faces technology, a server-side user interface component framework for Java technology-based web applications built upon JSP.
There are many more JSF samples in the plugins downloads page.
Scripting portlets #
Samples demonstrating how to develop portlets using ruby and PHP can be download from
There are also sample portlets for Groovy, Javascript and python. A description about how to develop portlets with scripting languages can be found in Scripting languages to develop portlets.
Hooks #
Other Samples #
See the complete file listing at the plugins downloads page.