Forums de discussion

WSRP API

Tibor Blénessy, modifié il y a 13 années.

WSRP API

New Member Publications: 5 Date d'inscription: 24/12/10 Publications récentes
Hi,

I am using Liferay 6. I would like to use WSRP functionality, but I need to be able to deploy portlets throught wsrp programatically - for example to deploy portlet and make it available as remote portlet from ant task or from java code.

Is it possible? Is there any api I can use? Thanks.
thumbnail
Manish Kumar Gupta, modifié il y a 13 années.

RE: WSRP API

Liferay Master Publications: 535 Date d'inscription: 16/05/08 Publications récentes
I think, you need to break it 2 parts -

1. Write a portlet with upload functionality which will copy the WAR file in the deploy directory of the server.

2. You will need to have a listner on deployer to publish the portlet for remote consumption. I think, 2nd part will be tough but it should be doable.