wsrp bea user's group march 2004
DESCRIPTION
An overview of WSRP Presented to the BEA User's Group in March 2004TRANSCRIPT
WSRP IntroductionWeb Services For Remote Portals
Scott Ryan, Denver BEA User’s Group March 3, 2004
WSRP The Standard
• OASIS managed Standard• Current Version is 1.0• Web Services For Remote Portlets• WSRP v1.1 - planned for early-mid 2004 • WSRP v2.0 - planned for early-mid 2005
Overview
• Web Services for Remote Portlets (WSRP) has defineda standard for interactive, presentation-oriented web services.
• WSRP defines:o A WSDL interface description for invocation of WSRP serviceso Semantics for interacting with WSRP services that can not be
expressed in WSDL.o Markup fragment rules for markup emitted by WSRP services
• Companies involved with WSRP:o 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
WSRP Services Plug&Play with Portals
PortalsWSRPServicesPortalsPortals
PortalsPortalsClientsClients
WebClientsWeb
ClientsWeb
ClientsWeb
ClientsWeb
ClientsWeb
ClientsWeb
ClientsWeb
ClientsWeb
ClientsWeb
Clients
PortalsPortals
Registry
PortalsPortalsPortals
Publish
Find
WSRPServicesPortalsPortals
Bind
WSRPServices
e.g.
WSRP Goals
• Enable interactive, presentation-oriented web services to be easily plugged into standards-compliant portals
• Ensure concepts and data exchanged are aligned with other standards in both the portal and web service arenas.
• Make the Internet a marketplace of visual web services, ready to be integrated into portals
Scenario: Use of WSRP in Portals
• Portals can aggregate presentation from many WSRP services
• WSRP services can be aware of portal contexto User profile from portalo Desired locale and markup-typeo Active user agent
Aggregated HTML, WML, VoiceXML,
... over HTTP
Mark-Up FragmentsTransferred via SOAP
PortalWSRP Service
WSRP Service
WSRP Service
WSRP Consumer WSRP Producer
ServerPortal
Portals
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
PortalsPortalsPortalPortlet
Portlet
Portlet
WSRP Consumer WSRP Producer
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
Perform Portlet Action
Destroy Portlet clone
Clone Portlet
Abstract Portal ⬄ WSRP Interaction
WSRP Consumer(Portal)
WSRP Producer(Service)Adds
Portlet
RemovesPortlet
ClickAction
Get Portlet MarkupI S
S
User
ViewPortlet
Allocate new clone
Generate Markup,(opt: create Session)
Action Handling(opt: create Session)
I
I
A
I A
I
I A
I
I S
IDestroy clone
I
AS
I A
WSRP and related Standards
WSRP
SOAP(Invocation)
WSDL(Description)
UDDI(Publish,Find&Bind)
(X)HTML
WML VoiceXML
cHTML...
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
BEA Support
• Supported in 8.1 SP 2 with Downloaded support Kit
• Full support coming in Future service pack release
• Need Platform or at least Portal edition.