O'Reilly logo

IBM Rational Application Developer V6 Portlet Application Development and Portal Tools by Ryan Wilson, Gianfranco Rutigliano, George Kroner, Belen Gonzalez, Karla Galvan, Cristiano Cesario, Juan R. Rodriguez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8.2. JSR 168 comparison to servlets

In the IBM Portlet API, portlets are servlets and extend the HttpServlet class. The IBM Portlet API also implements or extends many of the servlet interfaces including the HttpServletRequest, HttpServletResponse, and HttpSession. The JSP 168 API does not extend or implement any of the Servlet classes or interface. However, JSR 168 portlets are modeled after the servlet specification.

JSR 168 portlets do leverage many features of the Servlet specification including deployment, classloading, life cycle, session management and request dispatching.

Unlike servlets, portlets can only generate markup fragments. The portal server will aggregate all portlets and themes and skins to create the complete page. Portlets ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required