Home > SOA Tips > The Web Services Advisor > Web Services, Portlets and WSRP
SOA Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

THE WEB SERVICES ADVISOR

Web Services, Portlets and WSRP


Daniel Rubio
10.18.2005
Rating: -3.25- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


While Web services were initially conceived to execute as standalone pieces of software for interoperability purposes, their actual use has exploded into many application realms. From Web services designed to operate in the confines of an application server to those deployed on client side applications like spreadsheets, the list is extensive. In this article, we will explore yet another area in which Web services have popped onto: portlets.

Portlets are a popular choice for many Web-based applications. Among their many features are the following:

  • Ability to be customized by end users once deployed as an application
  • Capacity to target many user devices from the same design
  • Ability to process messages and events once executed

These are just a few features, most of which are compelling enough by themselves to choose a portlet design over other alternatives. However, up until recently, most portlet deployments have been based on proprietary API's.

In the Java world, designs based around JSR-168 have the biggest share when it comes to portlet deployments -- since it's supported by most major application server vendors -- although there are other alternative like the IBM portlet solutionwhich competes in this same space. In the .NET camp, Web Parts is the closest incarnation to a portlet programming model.

But where does all this lead when trying to create interoprable portlet solutions? Enter Web services for Remote Portlets (WSRP), a vendor neutral specification developed under the auspices of OASIS, for the creation of portal-driven applications through Web services.

Given WSRP's foundations, the specification is naturally designed to integrate seamlessly around the full stack of specifications common to Web services such as SOAP, WSDL and UDDI, among others.WSRP also has provisions to integrate with its early portlet predecessor JSR-168, allowing you to migrate existing Java/JSR-168 portlets to WSRP.

The backbone for WSRP is divided into two parts: producers and consumers. A producer is charged with providing the Web services end point along with lifecycle management, registration and other administrative services.

A consumer, on the other hand, comprises the logic necessary to tap into the WSRP producer, along with any ancillary component necessary to deliver the portlet content either as a browser-based application or as a self-contained service to end users. The following diagram illustrates how portlet producers and consumers interact:

Click here for a full-size view of this image

At the center is a server which serves as our portlet producer, The portlet producer, shown in the center of the diagram, can establish communication with third party portal servers – portal Consumers – via the standard Web services mechanisms UDDI/WSDL/SOAP. Once these consumers process the portlets producer's content, they can arrange the data in whatever manner is convenient, and send it off to client applications – browsers or fat client – which are completely abstracted away from the existence of a portlet architecture.

After this process (steps one and two), the client application can later return results back to its corresponding proxy server – the portlet Consumer – which can either end the sequence (step three), or redirect the obtained results back to the portlet producer (step four) .

As you can see, the use of WSRP provides for a very robust architecture for both consumers and producers of portlets. As a producer, you can publish WSRP designed services for consumption by either the intranet or third party portals, which are later bridged to end clients. As a consumer, you can create an application aggregated from various third party portlet producers, creating an easily maintainable deployment.

In order to achieve an actual production environment based on WSRP, there are various options at your disposal, since WSRP is based on a specification.

There are various vendors that provide a production environment for WSRP-based applications. However, this best of breed market requires a fair amount of due diligence on your part, since the maturity and extra functionalities provided by each vendor varies.

Among portal server vendors that offer support for WSRP are the following :

  • BEA Web Logic Portal: http://www.bea.com/products/weblogic/portal/index.shtml
  • Apache WSRP4J: http://portals.apache.org/
  • IBM Websphere Portal: http://www-306.ibm.com/software/genservers/portal/
  • PlumTree: http://www.plumtree.com/developers/standards.htm
  • OracleAS Portal Server: http://portalstandards.oracle.com/
  • Sun Portal Server : http://www.sun.com/software/products/portal_srvr/ds_portal6.xml

The actual complexity or ease with which a WSRP application can be rolled out in any of these products will depend heavily on your familiarity with similar portal tools from the same producer because most WSRP support is built upon earlier JSR-168 server implementations. If you have previously used Pluto –Apache's JSR-168 portal server – then Apache WSRP4J might be a good fit for you. On the other hand, if you organization is committed to the IBM product line, then Websphere Portal will surely be an obvious choice to test out WSRP deployments.

Like many Web services technologies out there, WSRP is not a panacea for every software project, but if you are contemplating deploying the same Web application repeatedly, WSRP may be the right solution for you. WSRP can abstract away the tedious deployment process, and at the same time, grant this access to other third parties using Web services standard.

About the author:
Daniel Rubio is an independent technology consultant specializing in enterprise and Web-based software, He blogs regularly on these and other software areas at : http://www.webforefront.com/.


Rate this Tip
To rate tips, you must be a member of SearchSOA.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
The Web Services Advisor
SPARQL shines as RDF's query language
Testing Web services: Unit testing and monitoring
Web services for Windows CE
Testing Web services and RIAs
The problem with IT project management
Web services with Open and Microsoft Office
REST with Axis, Struts, ColdFusion and WCF
Cross-site XMLHttpRequest: Boon or Pandora's Box
SOA and Web 2.0: The odd couple?
Project Zero, a RESTful new beginning for IBM

Web services development
SimpleDB shows promise
Yahoo says no deal
Amazon links Web services to data
StrikeIron offers new 'Data as a Service'
SOA products aim at healthcare
Web 2.0 tool debuts
WSO2 debuts ultra-light ESB
Microsoft Web services go live
Is Web 2.0 just guerilla SOA?
Enterprise Web 2.0 set to grow, analyst predicts

WSDL (Web Services Description Language)
Amazon Mechanical Turk Web services app touts improved development GUI
SOA triple play: Policy meets Semantic Web
Eclipse Ganymede: Web Tools build SOA foundation
Java One: Mule architect looks to bring REST to SOA
WSDL technology
A middle way to SOA governance
WSDL 2.0, new messaging for Web services
WSO2 releases C and PHP frameworks
WADL: The REST answer to WSDL
W3C adds semantics to WSDL

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
ColdFusion  (SearchSOA.com)
Delphi  (SearchSOA.com)
Eclipse  (SearchSOA.com)
elegant solution  (SearchSOA.com)
interaction management  (SearchSOA.com)
message-driven processing  (SearchSOA.com)
Ruby on Rails  (SearchSOA.com)
Tim Berners-Lee  (SearchSOA.com)
Web services  (SearchSOA.com)
Web Services: Glossary  (SearchSOA.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2001 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts