About portlet container and portalt server.


According to JSR-168: Portlets are web components -like Servlets- specifically designed to be aggregated in the context of a composite page. Usually, many Portlets are invoked to in the single request of a Portal page. Each Portlet produces a fragment of markup that it s combined with the markup of other Portlets, all within the Portal page markup.

In other words, a portlet is an mini-application that provides some content that forms part of a portal page. These portlets are handled by portlet container.
A portal container:

  • executes portlets,
  • manages lifecylce of portles,
  • provides them a runtime enviroment to portlets.

In order to execute and test the portlet container, we need a driver: the portal.

Requests from users are recieved by portal then this is directed to portlet container and these requests are executed on portlets. And portal (not portlet container) is responsible for bringing together all the content produced by portlets and present them to clients. So a portal is a web application (which can be deployed a servlet container like tomcat) which brings together contents from different portles and the communication between portal and portlets are achieved by portlet containers.

A portal does not only built a portal page from portlets but also provides:

  • Personalization
  • LDAP integration
  • CMS integration
  • Advanced security configuration
  • Single Sign On (SSO)
  • Customizable look and feel
  • Theming engine
  • Bridging frameworks for hosting portlets built using different technologies,
  • Services for messaging
  • Shared data, etc.


Although a portal and a portlet container are different units, they can be built together as a single component.

Courtesy:http://blog.yamanyar.com/2009/04/difference-between-portal-portlet-and.html

0