12
OASIS | November 16, 2003 Organization for the Advancement of Structured Information Standards OASIS OASIS | November 18, 2003 Web Services Remote Portlets Web Services Today : Core Technologies and issues Winston Damarillo OASIS WSRP TC

OASIS | November 16, 2003 Organization for the Advancement of Structured Information Standards OASIS OASIS | November 18, 2003 Web Services Remote Portlets

Embed Size (px)

Citation preview

Page 1: OASIS | November 16, 2003 Organization for the Advancement of Structured Information Standards OASIS OASIS | November 18, 2003 Web Services Remote Portlets

OASIS | November 16, 2003

Organization for the Advancement of Structured Information StandardsOASIS

OASIS | November 18, 2003

Web Services Remote Portlets

Web Services Today : Core Technologies and issues

Winston Damarillo

OASIS WSRP TC

Page 2: OASIS | November 16, 2003 Organization for the Advancement of Structured Information Standards OASIS OASIS | November 18, 2003 Web Services Remote Portlets

OASIS | November 16, 2003

Organization for the Advancement of Structured Information StandardsOASIS

OASIS | November 18, 2003

Overview

WSRP defines:

• A WSDL interface description for invocation of WSRP services

• Semantics for interacting with WSRP services that can not be expressed in WSDL.

• Markup fragment rules for markup emitted by WSRP services

Companies Involved with WSRP

BEA, Bowstreet, Citrix, Commerce One, Computer Associates, CrossWeave, Divine, Drake Certivo, Factiva, France Telecom, Fujitsu, Gluecode, HP, IBM, Interwoven, Kinzan, Lexis-Nexis, Lotus, MacDonald Bradley, Microsoft, Moravia IT, Netegrity, Novell, Oracle, Peoplesoft, Perficient, Plumtree, Reed Elsevier, SAP, SeeBeyond, Silverstream, Stellent, Sun Microsystems, Sybase, Tibco , Vignette, WebCollage

Web Services for Remote Portlets (WSRP) has defineda standard for interactive, presentation-oriented web services.

Page 3: OASIS | November 16, 2003 Organization for the Advancement of Structured Information Standards OASIS OASIS | November 18, 2003 Web Services Remote Portlets

OASIS | November 16, 2003

Organization for the Advancement of Structured Information StandardsOASIS

OASIS | November 18, 2003

WSRP Motivation

Enable the sharing of portlets (markup fragments) over the internet with a common interface

=> Cross vendor publishing and consuming of content

Client Text processor

Client Browser

Client Portal

Visual Component Pool Internet

Page 4: OASIS | November 16, 2003 Organization for the Advancement of Structured Information Standards OASIS OASIS | November 18, 2003 Web Services Remote Portlets

OASIS | November 16, 2003

Organization for the Advancement of Structured Information StandardsOASIS

OASIS | November 18, 2003

Presentation vs. Data Oriented WSData service

10010196

100

10010196

100

10010196

100

WSPresentation

Layer

Presentation Service

10010196

100

10010196

100

WS

PresentationLayer

10010196

100

Page 5: OASIS | November 16, 2003 Organization for the Advancement of Structured Information Standards OASIS OASIS | November 18, 2003 Web Services Remote Portlets

OASIS | November 16, 2003

Organization for the Advancement of Structured Information StandardsOASIS

OASIS | November 18, 2003

Actors in a WSRP World

• Portlet: A particular configuration of a component that renders its state in markup.

• Producer: The service provider hosting the remote interactive Web service (for example, weather.com as a weather service provider)

• Consumer: Integrates the remote service into its Web application, oftentimes using a portal toolkit (for example, Yahoo Weather or a corporate portal)

• End User: The person that comes to the Consumer’s Web site to use the Producer’s application in the Consumer’s context

Page 6: OASIS | November 16, 2003 Organization for the Advancement of Structured Information Standards OASIS OASIS | November 18, 2003 Web Services Remote Portlets

OASIS | November 16, 2003

Organization for the Advancement of Structured Information StandardsOASIS

OASIS | November 18, 2003

Scenario: Use of WSRP in Portals

• Portals can aggregate presentation from many WSRP services• WSRP services can be aware of portal context

– User profile from portal– Desired locale and markup-type– Active user agent

Aggregated HTML, WML, VoiceXML,

... over HTTP

Mark-Up FragmentsTransferred via SOAP

Portal

WSRP Service

WSRP Service

WSRP Service

WSRP Consumer WSRP Producer

Page 7: OASIS | November 16, 2003 Organization for the Advancement of Structured Information Standards OASIS OASIS | November 18, 2003 Web Services Remote Portlets

OASIS | November 16, 2003

Organization for the Advancement of Structured Information StandardsOASIS

OASIS | November 18, 2003

ServerPortalPortals

Scenario: Portal sharing Portlets

• Users of the second portal (WSRP Consumer) can select remote portlets like any local portlet and put them on their pages

• In this case, the portal providing a portlet as a WSRP service adheres to the WSRP protocol and contracts just like any other WSRP Producer service

Huge numberof users

Portals as Intermediaries,Caching offloads requests

from WSRP Producer

Publishing Portal

WSRPInterface

PortalsPortalsPortal

Portlet

Portlet

Portlet

WSRP Consumer WSRP Producer

Page 8: OASIS | November 16, 2003 Organization for the Advancement of Structured Information Standards OASIS OASIS | November 18, 2003 Web Services Remote Portlets

OASIS | November 16, 2003

Organization for the Advancement of Structured Information StandardsOASIS

OASIS | November 18, 2003

Scenario: Use of WSRP in Client Apps

• Applications may embed WSRP Services through plugin mechanisms, e.g. COM Components or ActiveX Controls

• In this case, the plugin in the client application adheres to the WSRP protocol and contracts as a WSRP Consumer

Rendering withinclient application‘s view

User Info, Actions, Markup Fragments

Transferred via SOAP

Application(e.g. Word, Outlook, ...)

WSRP Service

WSRP Service

WSRP Service

WSRP Consumer WSRP Producer

Page 9: OASIS | November 16, 2003 Organization for the Advancement of Structured Information Standards OASIS OASIS | November 18, 2003 Web Services Remote Portlets

OASIS | November 16, 2003

Organization for the Advancement of Structured Information StandardsOASIS

OASIS | November 18, 2003

WSRP and Portlet API(s)

Web Services for Remote Portals (WSRP)

Java Portlet API (JSR 168)

C# “Portlet API“

(.NET). . .

Platform Independent Web ServiceInterface

Platform specific, local Portlet APIs

Portlet APIs may be defined for different programming languages; WSRP can bridge between the different platforms, leveraging platform independence of Web services

Goal:Portlets written to Portlet API(s) can be published as WSRP services

WSRP Impl. onplain J2EE or .NET

platform

Page 10: OASIS | November 16, 2003 Organization for the Advancement of Structured Information Standards OASIS OASIS | November 18, 2003 Web Services Remote Portlets

OASIS | November 16, 2003

Organization for the Advancement of Structured Information StandardsOASIS

OASIS | November 18, 2003

WSRP TC Areas of Work

• Business Scenarios• WSRP Interfaces & Protocol • WSRP Markup Fragments Rules/Styles• WSRP and Security, Identity, SSO ...• WSRP Interoperability• WSRP Conformance• WSRP Publish, Find, Bind & Metadata (not in v1.0)• WSRP Coordination (not in v1.0)

Page 11: OASIS | November 16, 2003 Organization for the Advancement of Structured Information Standards OASIS OASIS | November 18, 2003 Web Services Remote Portlets

OASIS | November 16, 2003

Organization for the Advancement of Structured Information StandardsOASIS

OASIS | November 18, 2003

Planned WSRP Milestones

• September 2003: WSRP Specification 1.0 approved as an OASIS standard

• December 2003: Determine content of WSRP v1.1

• May 2004: WSRP Specification 1.1 approved as an OASIS standard

• September 2004: Determine content of WSRP v2.0

Page 12: OASIS | November 16, 2003 Organization for the Advancement of Structured Information Standards OASIS OASIS | November 18, 2003 Web Services Remote Portlets

OASIS | November 16, 2003

Organization for the Advancement of Structured Information StandardsOASIS

OASIS | November 18, 2003

Useful links

• http://www.oasis-open.org/committees/wsrp - TC public page

• http://ws.apache.org/wsrp4j/ - Open source Producer project

• http://jakarta.apache.org/pluto/ - Open source Portlet container project

• http://www.alphaworks.ibm.com/tech/wsrptk - Evolving test kit for WSRP conformance. This builds on the Eclipse testing framework.

• http://www.eclipse.org/wsvt/ - Eclipse testing framework.