Free Newsletters
Technology & Business Daily

InfoWorld
Log-in | Register

Extending Groove

Groove Web Services will allow PDAs and Web apps to share in Groove collaboration

By Jon Udell  
November 01, 2002
 

HOW DO YOU PORT 5 million lines of Win32/COM code to the Pocket PC? That was the dilemma that Groove Networks faced when considering how to bring its ultrasecure peer collaboration technology to mobile devices. Jamming 10 pounds of potatoes into a one-pound sack wasn't an option, but lateral thinking yielded a new plan: Don't port; use Web services as integration glue. Thus was born the skunkworks project first dubbed "edge services" and now known as GWS (Groove Web Services).

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



Groove Web Services


Executive Summary:
The forthcoming GWS (Web Services) initiative will wrap SOAP and WSDL interfaces around Groove's core functions and tools, allowing formerly disenfranchised people, devices, and applications to connect to Groove's peer collaboration services.

Test Center Perspective:
Originally designed to deliver Groove services to resource-constrained devices, GWS is poised to help solve several other problems that have plagued the Groove platform. It's also shaping up to be a model implementation of a Web services architecture that respects the Web's core strengths.

The first release, due later this year, will wrap SOAP/WSDL interfaces around the core elements of the Groove architecture: accounts, identities, contacts, shared-space membership, and presence. It will also encapsulate the most common tools used in shared spaces: Discussion, Files, and Calendar. To export access to these Web services, a SOAP server runs alongside the Groove client.

A SOAP client running on the same machine can hit these services directly. A remote client will reach them through a gateway that, like Groove's existing relay server, provides queuing and through-the-firewall connectivity. In the first release, the Groove security model will not extend to SOAP clients. Remote use of GWS will therefore be considered a developers' preview. Phase two of the project, due next year, aims to leverage the WS-Security framework to authenticate users and devices, and secure the SOAP traffic. That's also when SOAP interfaces will be provided for Groove's messaging subsystem and for more tools, including Projects, Meetings, and Forms.

It might seem disingenuous of Grooveto claim that the first release of GWS -- secure because it's confined to the local machine -- will be "production ready." In fact, the first and best use of GWS will be to empower .Net programmers or Java programmers, as well as scripters using Perl, Python, and Ruby, to interact with shared spaces, combine them with other local and remote data, display Groove information to the local user, and push it out to destinations such as enterprise portals.

The GDK (Groove Development Kit) is optimized for professional programmers who create polished tools that plug into the Groove transceiver or who splice Groove DNA into other commercial applications. There hasn't been an easy way to do simple things such as adding a Groove presence indicator to a directory on the company intranet. Solving that kind of problem is, on balance, an even more vital mission for GWS than downsizing Groove services for PDAs.

"There hasn't been a way to add just a little bit of Groove to something else," says Jack Ozzie, vice president of development.

Once the project got rolling, it became apparent that GWS could help solve quite a few problems. Groove's failure to support non-PC devices wasn't the only barrier to Groove adoption. Even in Windows environments, "mandating the Groove client can be a nonstarter," GWS project manager Matt Pope admits.

For some major customers, the ability to expose Groove functionality outside the transceiver is a key requirement. Broader awareness of shared-space activities is another. Groove's shared spaces are, by design, invisible to the uninvited. The enterprise support in version 2.0 empowers corporate IT to enumerate shared spaces, and see the managed identities and tools within them. But meetings and discussions that are not necessarily private, and so ought to be serendipitously discoverable, are still not easy to find.

The current solution to this problem is to create a bot, install it on the Groove EIS (Enterprise Integration Server), and then invite the bot into a shared space. This is a good way to mediate securely between Groove spaces and external partners, but the activation threshold is awfully high for ad hoc internal integration. GWS should lower that activation threshold dramatically. And when secure remote access to GWS does become available, it promises to flip the model on its head. EIS pushes data to external systems, notes Jack Ozzie, vice president of development, "but with GWS, it's a reach-into-Groove model, which means your integration logic can stay where it belongs."

Developers will find GWS to be a textbook example of a style that has come to be called "RESTful SOAP." REST (Representation State Transfer) describes the architectural style of the Web. What that means for SOAP, as recommended in the W3C working draft for SOAP 1.2, is that interfaces should "use URIs [Universal Resource Identifiers] in a Web-architecture compatible way -- that is, as resource identifiers."

For example, the root of GWS is a SOAP service with an address like http://localhost:9080/GWS/Groove/1.0/Accounts. Since a Groove account is a container of identities, a Read operation on this resource produces an XML document that enumerates them. Each identity includes an element like /GWS/Groove/1.0/Spaces/grooveIdentity/123...xyz -- that is, the URI of the SOAP service that enumerates the shared spaces for that identity. Traversal of spaces, tools, and data proceeds in a similar fashion. It's all organized as a web of linked XML documents controlled by a handful of verbs such as Create, Read, Update, and Delete.

This exceptionally elegant and productive Web services API is a second try. The first version, which was set to debut with the release of Groove 2.0 in April, was much closer to Groove's internal API. Recognizing that it might not appeal to a broader audience, Groove sensibly went back to the drawing board. Peter Drayton, a leading Web services educator, was recruited to review and help redesign the schemas and WSDL interfaces. "This is a big thing," Ozzie says, "and we had to get it right." The results are nothing short of spectacular.

As we watched GWS technical lead John Burkhardt build a WinForms GWS client in Visual Studio .Net, we realized that we needed no further explanation to do exactly the same thing in wxPython on a Macintosh or in PHP on a Web page. "I've wanted a search service that will troll through my Groove spaces," Burkhardt says. "We've talked about building that into Groove, but now I can write it externally -- both quicker and with more flexibility." The proof's in the pudding, of course, but GWS's architecture lends much credence to the claim.

Note that Groove tools must still mediate GWS access to the core services. These tools are signed components, installed into shared spaces, that people (and now GWS clients) use to read or update shared-space data. GWS cannot reach directly into, for example, the RecordSet engine, to make direct use of the distributed XML object store. What's more, existing and new tools must be adapted for use with GWS.

However, as Pope points out, the existing "tool surface area," when exposed by GWS, will create a wealth of options. For example, GWS includes an event model, which means that a GWS client should be able to subscribe to change alerts issued by any GWS-aware tool.

Six months ago, at the O'Reilly Emerging Technology Conference, advocates of REST (Representational State Transfer) pointedly asked a panel of SOAP experts: "What does Web services have to do with the Web?" The blunt answer was, to paraphrase, "Nothing." As we noted then (see "Hyperlinks matter," http://www.infoworld.com/articles/pl/xml/02/05/20/020520pllinks.xml ), a linked web of XML documents is a potent architecture that Web services can and should exploit. Happily, GWS does.





 


 
Jon Udell is lead analyst and blogger in chief at the InfoWorld Test Center.

  More of Jon Udell's column
  Jon Udell's Weblog

Newsletter Check out all of our free newsletters!
Enter e-mail address:




 

TOP NEWS:


»  Update: Online encyclopedia lists internal network security threats
Promisec includes popular Web-based applications among possible data-loss threats

»  Ericsson, STMicro to form mobile chip venture
Joint venture will build guts of mobile devices for current 2G and 3G mobile networks, as well as faster, emerging LTE technology

»  Palm Treo Pro steps into the smartphone ring
Running Windows Mobile 6.1, Palm's newest release will give enterprise users an operating system they are comfortable with

»  Real time drives database virtualization
Database virtualization will enable real-time business intelligence through a memory grid that permeates an infrastructure at all levels

»  IBM commits $300 million to disaster recovery build-out
New datacenters to store data in cloud-based storage model

»  Palm plans to sell unlocked Treo Pro
Palm's decision to sell its newest smartphone could be start of a new trend or a sign of harder times to come for the company




Are you ready for event-driven business?
"Faster than a speeding bullet" doesn't just refer to superheroes anymore, it's the velocity your business needs to compete. In this webcast you will learn strategies you can implement today that will keep your systems ahead of the increased business velocity. Sponsor: Progress Sonic

»  Click here to view this Webcast
  The Path to Enterprise Security
This is your comprehensive guide to Enterprise Security. In it you'll find solutions to the most pressing security threats facing you and your company. Learn the latest on insider threats and how to effectively minimize risk within your organization. Sponsored by Nokia

»  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
 

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