What is Portlet Container ?


A Portlet Container runs portlets and provide them the required run time environment. A portlet container contains portlets and manages their life cycle.

The portlet container is built on top of a servlet container, but the model is more restricted than the servlet model
  • The portlet shares the response space with other portlets.
  • The portlet does not manage URLs.
  • The container imposes to the portlet a framework for rendering.
  • The session is portlet centric.
  • The deployed portlets needs to be instantiated.
Below is the sequence of events generated by the Portlet Container:
  • A registered user opens the portal, and the portal application receives the client request and retrieves the current user‘s page data from the portal database.
  • The portal application then issues calls to the portlet container for all portlets on the current page.
  • The portlet container, which holds the user‘s preferences, calls the portlets via the portlet API, requesting the markup fragment from each portlet and returning it to the portal.
  • The portal aggregates all markup fragments together into one page, which the portal finally returns to the client/user.
Portlet Container
Portlet Container

No comments:

Post a Comment

Recent Posts

Popular Posts

© 2011-2019 Web Portal Club