IPC which to be prefer : Public Render Parameters or Events

Internal Portlet Communication can be done in 2 ways,

1.Using Public Render Parameter
2.Using Events

Public Render Parameter : Liferay The way tagcloud and Blog communicates.

Using Public Render Parameter way we can pass only string
Using Events we can transfer any serializable objects

So using Events is the recommended way with jsr286.

Comments

Popular posts from this blog

Theme display in javascript

How to know which liferay version we are using

Viewing the SQL Query in liferay : debugging the SQL Query in Hibernate