Introduction #

This is a Frequently Asked Questions page for Liferay's WSRP feature.

FAQ #

What versions of Liferay support WSRP? #

All enterprise editions of Liferay will support WSRP 2.0. The community edition 6.0.x series supports WSRP as well.

What is WSRP? #

WSRP allows multiple portals to be setup as producers and consumers. If you have a Liferay instance with 200 portlets you will have extreme delays in updates and server reboots. WSRP will help mitigate this by giving each team their own portal from which they can serve their own portlets. This allows the main portal to consume all the portlets it needs without actually having to have them installed and deployed locally.

How will embedded resources (like images, js, css) will be handled, can they be accessed still through a WSRP Consumer? #

Resources, as long as they are using valid portlet URL's (resource URL's) will be properly proxied. If they are direct links they will remain that way.

How the user session is managed across portal servers #

One browser session equals one wsrp remote session. The sessions are synchronized between servers.

How will I pass parameters (user info, parameter from browser, parameter from gtb portal) to and from between the two portal servers #

As long as the portlet is Portlet 1.0 / 2.0 compliant all of this is handled transparently. Anything done outside of the portlet spec (ie accessing servlets directly) is not supported.

How will personalization be handled/stored/managed? #

This is handled by the remote server. If you have SSO properly set up then this should not be an issue. SSO between two portal servers needs to be customized for each portal server / SSO engine.

Does Liferay support be producer and consumer at the same time? #

Yes, it does. To accomplish that you should set the property auto.login.hooks=com.liferay.portal.security.auth.RequestHeaderAutoLogin in the portal-ext.properties.

0 Anexos
29473 Visualizações
Média (3 Votos)
A média da avaliação é 3.66666666666667 estrelas de 5.
Comentários
Respostas do tópico Autor Data
About what versions of Liferay that support... mike webster 4 de Dezembro de 2009 15:29
It's the first item in the FAQ. CE does not... Brett Swaim 22 de Dezembro de 2009 08:48
Nice to see Liferay v6 Community Edition... Bruno Vernay 7 de Maio de 2010 07:39
I dont see any produces or consumer by default... Sudheendra Singh 13 de Maio de 2010 01:58

About what versions of Liferay that support WSRP...I have been given mixed comments about this answer. According to the 5.2 CE release notes WSRP is supported. Also, according to a recent forum posting another member mentioned WSRP is supported in both editions. Could we clarify this FAQ? Thanks in advance.
Postado em 04/12/09 15:29.
It's the first item in the FAQ. CE does not support WSRP, only EE.
Postado em 22/12/09 08:48 em resposta a mike webster.
Nice to see Liferay v6 Community Edition supporting WSRP as well !!

Bruno
Postado em 07/05/10 07:39 em resposta a Brett Swaim.
I dont see any produces or consumer by default nor could I find any wsrp portlet war plugin. I am using the CE. Is there any configuration I need to do to get WSRP working (assuming it is available in Liferay 6 CE)
Postado em 13/05/10 01:58 em resposta a Bruno Vernay.