Building Portlets

Portlets are the basic building blocks of portal Web applications, and enable the presentation behavior of a subset of an application to be managed as a single unit. A portlet exists as a set of associated files, mostly XML and JPSs. In the WebLogic Workshop IDE, portlets can be edited visually in Design View, and the JSPs can be edited in Design View and Source View.

You can think of portlets as the windows that surface your applications, information, and business processes. Portlets can communicate with each other, they can work with Java controls, and take part in Java Page Flows that determine a user's path through an application. You can have multiple portlets on a page. You can also have multiple instances of a single portlet.

Architecturally, a portlet is a collection of objects described by an XML file with the .portlet extension. The framework uses the elements described in that file to render the Portlet at runtime, applying any permissions and customization at specific points in the assembly of the HTML that is eventually generated. The Portlet itself can use a JSP, a Page Flow, or an optional backing file, and can be built to conform to the JSR 168 standard for portlet compatibility. Portlets can consume existing Web applications and content (ASP, JSP, HTML, XML, and so on).

The following topics guide you through the portlet creation process:

Related Topics

Developing Portal Applications

Developing Personalized Applications

Portal Reference

Portal Samples

Portal Tutorials