• Post Reply Bookmark Topic Watch Topic
  • New Topic

Portlet API's  RSS feed

 
Dean Jones
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do any one of u know abt the portlets API's
if so please help me
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • 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:
http://jcp.org/jsr/detail/168.jsp
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:
http://jakarta.apache.org/jetspeed/site/index.html
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.
--------
Bill
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!