Fórumok

WSRP API

Tibor Blénessy, módosítva 13 év-val korábban

WSRP API

New Member Bejegyzések: 5 Csatlakozás dátuma: 2010.12.24. Legújabb bejegyzések
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, módosítva 13 év-val korábban

RE: WSRP API

Liferay Master Bejegyzések: 535 Csatlakozás dátuma: 2008.05.16. Legújabb bejegyzések
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.