Free Newsletters
InfoWorld Daily

InfoWorld
Log-in | Register

Portlet standard predicament

With two portlet access visions and no single standard to bridge the gap, the choice is less than certain

By Alan Zeichick
April 30, 2004
 

Two new industry specifications may standardize the logical separation of portal applications -- aka portlets -- from the portal servers that use their services. The benefits of such a separation are clear, but the choice of whether to adopt the Java Community Process’ JSR (Java Specification Request) 168 or OASIS’s WSRP (Web Services for Remote Portlets) is less certain.

Free IT resource

Open Source Business Conference (OSBC) May 22-23, 2007

Sponsored by OSBC

Free IT resource

Virtualization Insights from Top Experts - Learn how virtualization gets real!

Sponsored by Dell

DOWNLOAD PDF

Click here to download InfoWorld's special report Diving into portals


Why separate portlets from portal servers? The most obvious and short-term benefits come from improved scalability. In the traditional portal model, portlets ran on the same J2EE application server as the portal server, interacting via simple J2EE interprocess communication. However, as portal use grew, moving the portlet to another piece of hardware and accessing it remotely reduced processor utilization on the portal server. Also, departments within a business often want to write and maintain their own portlets -- something that’s hard to accomplish across cultural and technology boundaries if portlets must be deployed to a centralized “glass house” portal server, but it is easy to do if portlets are hosted separately.

It’s only recently that industry consortia began defining standard interfaces and communications protocols for running portlets remotely. But the two top specs, JSR 168 and WSRP, are more competitive than complementary.

WSRP was designed not only to allow remote portlet-to-portal communication via XML-based Web services but also to accommodate cross-platform portlets. Thus, a J2EE-based portal server could interoperate with a portlet running on a .Net machine as long as it exposes its functionality via WSRP-compliant Web services.

The rich WSRP specification defines the communications protocol as well as standardized behavior language for portal-to-portlet transactions, and it uses WS-Security to add encryption and authentication to portlet-portal transactions. WSRP is also extensible and defines a method of extending the behavior language.

That extensibility is its biggest weakness. For example, BEA could define a set of WSRP behaviors that exploit features of its portal server; portlets written to use those behaviors would not be interoperable with other portal servers and vice versa.

By contrast, JSR 168’s scope is more limited. It does not support cross-platform communications, Web services, or vendor-specific extensions -- and it is more likely to ensure broad interoperability, at least within J2EE-based portlets. JSR 168 is defined as a set of extensions to the Java servlets APIs (javax.servlet.portlet), which is easier to implement than WSRP; JSR 168 is already found on most J2EE-based portlets.

At present, there’s no means for making a particular portlet compatible with both JSR 168 and WSRP. And due to their different design goals, there’s no reason to expect a unified JSR 168/WSRP spec any time soon.

So the decision as to which remote protocol to use depends on your portal goals. Looking for cross-platform interoperability, or want to separate portals and portlets across the Internet? Use WSRP and be careful about vendor-specific extensions. Want to logically separate J2EE-based portals and portlets within a datacenter? Use JSR 168. Want the best of both worlds? Keep waiting.





 


 
Alan Zeichick is principal technology analyst at Camden Associates in San Bruno, Calif., which specializes in networking and software development. Reach him at zeichick@camdenassociates.com.
 

TOP NEWS:


»  Four quick tips for choosing an IM security product
71 percent of businesses will invest in real-time messaging this year. If you're one of them, be sure to protect your enterprise

»  Forrester analysts ID hot IT jobs
Research group finds 16 IT roles with a promising future

»  Nvidia claims 10 hours of HD video on Tegra chip
The Tegra 600 and 650 can be used with hard disk drives and are designed partly for mobile Internet devices

»  Database vendors add Google's MapReduce
Greenplum and Aster Data Systems will support Google's programming technique, developed for parallel processing of large data sets across commodity hardware

»  Network management: Tips for managing costs
New technologies, changing requirements, and ongoing equipment maintenance and upgrades cost money, but there are ways to manage expenses

»  EMC targets SMBs, branch offices with new low-end storage
Celerra NX4 highlights include thin provisioning, snapshot technology for data recovery and backups, and Web-based console for management of storage volumes




REMOTE ACCESS: MAINTAIN SECURITY AND DECREASE THE BURDEN ON IT
Join this interactive webcast to discover how IT Managers can control access rights, end-user security settings and end-point authorization. Sponsor: Citrix(R) GoToMyPC(R) Corporate

»  Click here to view this Webcast
  WAN Emulation Sponsored Solutions Guide
WAN emulation technology enables IT organizations to predict reliably how applications will perform in a networked environment, before application rollout, mitigating development risk and costs.This Sponsores Solutions Guide has everything you need to now about WAN emulation and WAN and how to best implement it in your organization. Sponsored by Shunra

»  Click here to download now

- Special Advertising Partners -
WHITE PAPERS
 

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
 
INFOWORLD MARKETPLACE
 
» BUY A LINK NOW
 
SEE ALSO
• Diving into portals' distinguishing characteristics
• SIDEBAR: Checklist for enterprise portals


FIND PRODUCTS AND COMPANIES
» COMPLETE PRODUCT GUIDE



TECHNOLOGY INDEX
• Applications
• Application Development
• Security
• Networking
• Wireless
• Platforms
• Hardware
• Data Management
• Storage
• Web Services
• Business
• Telecom
• Professional Services
• Standards

TECH WATCH 


What's the 411 on GOOG-411?
Just as Google has become synonymous with "performing a Web search," 411 is understood to mean "information" -- as in "what's the 411?" I was thus surprised to discover, from a billboard, no less, that the king of search is taking on the ...

Apple HTML source reveals 'iPhone Extreme'
"This one's a stretch..." reports AppleInsider. Um, yeah. Reporting on HTML code sightings of product names could be called a stretch, but iPhone Extreme has a ring to it. Now, that sounds like the product Apple should have released first, rather ...

COLUMNISTS

Unified under law
Ephraim Schwartz's Column and Blog (InfoWorld) - In the litigious world we live in, deploying a unified communications platform in your enterprise could...
» MORE COLUMNISTS

MORE INFOWORLD BLOGS


Open Sources 
Product Management
When I joined MySQL four years ago, there was quite a lot of debate about product management. We didn't actually have ...

Zero Day 
Botnet herders tending smaller flocks
New research backs up the theory that botnet operators are keeping their networks smaller in a continued effort to keep ...



• Advice Line
• Database Underground
• The Deep End
• Enterprise Mac
• Geeks in Paradise
• Grid Meter
• The Gripe Line
• InfoWorld Daily
• Inside IT
• IT Troubleshooter
• ITXtreme
• Open Sources
• ProdBlog
• Real World SOA
• Reality Check
• Security Adviser
• SMB IT
• The Storage Network
• Tech Watch
• Virtualization Report
• Zero Day

ADVERTISEMENT


RESOURCE CENTERadvertisement 

GOVERNMENT IT & POLICY
'If you don't go after the network, you're never going to stop these guys. Never.'
From the State Department, All the News for Inquiring Minds
TechPresident, the Internet Citizenry's New Consensus Taker



Sponsored Technology Links

 
 
 HOME  NEWS  BLOGS  PODCASTS  VIDEOS  TECHNOLOGIES  TEST CENTER  EVENTS  CAREERS   About | Advertise | Awards | RSS | Contact Us 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses,
phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist