miércoles, 29 de junio de 2011

How-to develop a ZKoss, Spring, Hibernate portlet for Liferay from scratch (I)

In this tutorial I will try to explain how to develop a portlet using the RIA ZKoss framework integrated with Spring and Hibernate. This portlet will hold also the needed configuration to be deployed in Liferay Portal.

This example will use a MySQL database but this could be easily changed in datasource property. This kind of portlet is checked and works with ZK5 and Liferay 6.0.x. It should work with Liferay 6+ version. In fact, it doesn't contain any specific Liferay library, it just contains the configuration files to be deployed as a Liferay Portlet. If you need to use the Liferay libraries to access the portal from your portlet, you should only need to put the Liferay libraries in the WEB-INF folder of your portlet.