« Volver a Development

Modules Communication

Etiquetas: development

The goal of this wiki article is to clarify the communication channels between portal and plugins classes.

In Liferay we have the following packages/entities:

  1. portal-service
  2. portal-kernel
  3. portal-impl
  4. plugins

The way they can interact and communicate is the following:

  1. portal-kernel can be called by the rest of entities (portal-service, portal-impl and plugins)
  2. portal-service can be called by portal-impl and plugins
  3. plugins can be called by other plugins using CLP communication (see this wiki article: CLP plugins communication)

Note: you may call plugins' services from the portal-impl using CLP too, but this is not a recommended way to work.

Here you have a diagram to make it clearer:

IMPORTANT UPDATE: This has recently changed for the current Liferay version - 6.0.2. portal-service and portal-kernel have been merged, so that it's much easier now to develop. See http://issues.liferay.com/browse/LPS-9370 for further information

2 archivos adjuntos
32271 Accesos
Promedio (1 Votar)
La valoración media es de 5.0 estrellas de 5.
Comentarios
Respuestas anidadas Autor Fecha
Nicely described !!! Tejas Kanani 8 de noviembre de 2011 3:16

Nicely described !!!
Publicado el día 8/11/11 3:16.