JSR 168 Portlet Standard
Java Standardization Request 168 (JSR 168) defines a Portlet specification, including contracts between the Portlet container and the Portlet. JSR 168 is defined by Java Community process (JCP. JSR 168 is jointly led by IBM and sun and has a large trusted CT group to help create the final version currently available. This expert group consists of Apache Software Foundation, Art Technology Group Inc. (Atg), Bea, Boeing, Borland, Citrix Systems, Fujitsu, Hitachi, IBM, Novell, Oracle, SAP, SAS Institute, sun, Sybase, tibco, and vignette.
More information about JSR can be found in http://jcp.org/en/jsr/detail? On id = 168.
Portal and Portlet container
Portal is a Web application that provides a set of personalized and single sign-on content from different sources and hosts the presentation layer of different backend systems. The main task of the portal is to combine different application sets into a page. The page looks like a page shared by portal users. The portal can also have complex personalized features that can provide users with custom content. The portal page can have different Portlet sets to create content for different users.
The client request is processed by the portal web application, which retrieves the Portlet on the current page for the current user. The portal web application then calls the Portlet container for each Portlet to retrieve its content through the container invoker API. The Portlet container calls the Portlet through the Portlet API. The container Provider Service Provider Interface (SPI) allows the Portlet container to retrieve information through the portal.
Figure 3.Basic PortalArchitecture
Portal page and Portlet
The basic portal page components are displayed. The portal page indicates a complete tag document and aggregates several Portlet windows. That is, it combines different application user interfaces into a unified representation. The portal page allows you to verify your identity to the portal through the logon dialog box to access the Personalized Portal view. Most portal pages include some navigation mechanisms to allow users to navigate to other portal pages.
The Portlet window includes:
L title bar with the title of the Portlet
L modifier, including buttons used to change the window status of the Portlet (such as maximizing or minimizing the Portlet) and buttons used to change the mode of the Portlet (such as displaying help or editing predefined Portlet settings)
L content generated by the Portlet (also known as a tag segment ).
A Portlet window is displayed in different browsers. As you can see, the tag segment generated by this Portlet is not limited to HTML, but can be any tag