Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Portlet API's

Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
do any one of u know abt the portlets API's
if so please help me
Author and all-around good cowpoke
Posts: 13078
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm gonna do a data-dump on you from the Portal section of this chapter I just wrote.
There have been many proprietary mechanisms for creating portal style presentation. Among Java web application server vendors there is interest is creating a standard API for portals as part of the J2EE specification. There have been several proposals for Portlet APIs submitted to the Java Community Process. The only one currently under serious consideration is JSR 168. You can find out the current status of this proposal at:
The proposed schedule for development of this specification calls for the first public draft to be released in the Fall of 2002. Participants in the development of this proposed API include BEA, IBM, Sun, Oracle and SAP. Goals of the project include:
�A simple API
�Support for multiple types of client.
�Support for localization and internationalization
�An API similar to the Servlet API.
A related standardization effort is JSR 127, sometimes called JavaServer Faces. The intent of this project is to develop standard JSP tags and Java classes to simplify building web based user interfaces. The Portlet specification would become part of this total picture.
In our opinion, the weakness of these standardization efforts is that they place too much emphasis on using JSP tag libraries and not enough on XML representation of data structures. In other words, this approach fails to separate presentation from content.
The Jetspeed Project
One implementation of the Portlet API can be found at yet another Apache organization project, Jetspeed. Jetspeed is a subproject of the Jakarta project. Basically, it uses a servlet to integrate data from portlets using XML technology. The home site is:
The Jetspeed project provides facilities that enable a user to design a "home" page by selecting predefined portlets from a form. Jetspeed provides for defining the available portlet components in an XML based system called PSML for Portal Structure Markup Language. PSML is similar in some respects to Cocoon's sitemap XML in that it defines the possible components of a portal page. Instead of a pipeline, each registered user has an XML file that defines the components that will go into a page. Jetspeed includes stylesheet information for various presentations so that a user could get the same basic portal page on both a desktop PC and a wireless device.
    Bookmark Topic Watch Topic
  • New Topic