Help with Liferay portlets, igoogle-like portals

Hi, I am completely new to portlets and portals. I had a brief (very brief) look at jsr for portlets, the installed liferay played with its default portlets and set up the eclipse workspace in the hope of developing my own small portlet module.
I have to create an igoogle-like portal and a chrome tab system.

I'm not sure where to start, and I'm quite comfortable with Java and made some other J2EE applications, but I don’t know how everything fits into the portal / portlet architecture (which files, etc.), so any help you guys could provide would be greatly appreciated.

+3
source share
3 answers

First you need to decide which technologies to use for the portlet.

The portlet spec uses JSP / Servlet vanilla. However, you can use other frameworks such as JSF, Struts, Spring, etc., using the appropriate glue. The portlet examples have examples for various technologies.

For JSF, this glue is JSR-301 Portlet Bridge for JSF , then you can use other sets of JSF components.

I am currently working on a portlet for Liferay based on JSF and RichFaces, and this seems to work more or less. There are no serious failures so far.

, Liferay. , , JSF 2.0 Portlet 2.0 . JSF 1.x Portlet 1.0.

+3

Liferay, Liferay SDK. Eclipse (Liferay IDE), , , (- ANT Maven, , - , /)

: https://lportal.svn.sourceforge.net/svnroot/lportal/plugins/trunk

, Liferay!= JSR-168/286 - , , , , (, ). , / .

+2

, Liferay Portal Server , .

JSR 286 (v2.0). , , Struts, Spring, JSF, , . ( , ) (, ) , , JSR 168.

:

  • Struts JSR 168 (v1.0), JSR 286 . Struts.

  • JSF JSR 168, 286, JSF (http://jcp.org/en/jsr/detail?id=301).

  • Spring spring. . , spring, . spring - v3.1. JSR 286 .

, , /, , . , (, Liferay, WebSphere Portal ..), , , portlet.xml , .

" Portlets in Action" Ashish Sarin, .

.

0

Source: https://habr.com/ru/post/1752024/