Laliwala IT Services

Laliwala IT Services
Website Development

Saturday, May 28, 2011

liferay portlet development

Deploying portlet
liferay portlet development
 liferay portal development
liferay portal assessment services

There are 2 main ways to deploy a portlet on Liferay.

1ST, but you need to allow autodeploy, you can use /liferay/deploy this is very simple: just drop in that directory your portlet (as a war file) and watch it beeing deployed on the portal.
This is the way plugins available on Liferay's SVN are deployed.

I concider it very reliable and fast. Very efficient when developing and testing your own (liferay) portlets in the field.

The second method is to use Liferay User Interface (UI). Simply log in with a user allowed to install new portlets and go to Admin > Plugins
You will find there a "Install More Portlets" button. Click on it.
There you have several options:

one is to use a local file and upload it this way to the server,
an other is download file, when you know where the porlet war file lies on the net,
and the default is to use Liferay repository, which means you are going to install a portlet part of one of the suggested online repositories.