WSRP - PowerPoint PPT Presentation

1 / 21
About This Presentation
Title:

WSRP

Description:

Portlet addition requires more development work ... Web based portals are typically limited to HTML. An application 'portal' would be able to accommodate much ... – PowerPoint PPT presentation

Number of Views:179
Avg rating:3.0/5.0
Slides: 22
Provided by: brents8
Category:
Tags: wsrp | aboutus

less

Transcript and Presenter's Notes

Title: WSRP


1
WSRP
  • Brent Stearn
  • Grid Development Group,
  • SDSC Summer Institute
  • 8/24/04

2
Motivation
  • Portals are often static
  • Portlet addition requires more development work
  • Portlets are bound to the portal framework they
    are developed with
  • No reusability
  • Web based portals are typically limited to HTML
  • An application portal would be able to
    accommodate much richer content

3
Topics
  • WSRP
  • Gamess portlet and demonstration

4
WSRP
  • Web Services for Remote Portlets
  • Designed to facilitate pluggable, presentation
    oriented portlets.
  • Portlets can be written to any portlet api JSR
    168, Gridsphere, etc
  • Portlets can also be web services
  • Allows for richer types of markup
  • HTML / XHTML,
  • WML, cHTML, VoiceXML (In Future)
  • WSRP uses the idea of a Producer and Consumer to
    define relationship between portlet host and
    portlet user

5
WSRP Models
P R O D U C E R
C O N S U M E R

B R O W S E R
Portal
HTML/JSP
SOAP

C O N S U M E R
P R O D U C E R
Application (Word, Outlook)
Web Service
6
Producer
  • A Producer is the layer between portlets and the
    outside world
  • It is NOT a runtime environment for portlets
  • Depends on a portlet host for invocation
  • Provides users with a mechanism for portlet
    discovery
  • Gives access to information about a portlet
    hosts portlets

7
Consumer
  • Interacts with a Producer to aggregate portlets
    and present them to the end-user
  • Can be an application, a portal, a portlet, a web
    service, a jsp pagealmost anything
  • Can utilize portlets from any Producer
  • Only the Producers endpoint URL is needed
  • Allows for possibility of richer content delivery
  • Not limited by a web browser

8
GAMESS WSRP Demo
  • Pluto - Portal
  • WSRPRJ - Producer
  • ProxyPortlet - Consumer
  • Gamess - Portlet

9
Pluto
  • Reference implementation of a JSR 168, the Java
    Portlet Specification
  • Portlet container
  • Where the portlets live
  • Simple Portal
  • User of the container

10
WSRP4J
  • Open source implementation of WSRP Producer and
    Consumer
  • The Producer component uses the Pluto container
    to host portlets
  • Default consumer is a Java Swing based
    application

Google Portlet
Test Portlet
Embedded Server Portal
WSRP Interface
Test2 Portlet
Gamess Portlet
11
ProxyPortlet
Pluto
  • Gamess portlet is hosted remotely by a WSRP4J
    Producer
  • The local portal, pluto, does not implement a
    WSRP consumer interface
  • ProxyPortlet is a WSRP Consumer that couples the
    portal to the producer
  • The local portal sees only a normal portlet
  • The portlet itself implements the WSRP consumer
    interface
  • Any portlet hosted by a WSRP producer can then be
    plugged in and used by the portal without ever
    knowing about WSRP

C O N T A I N E R
C O N S U M E R
GooglePortlet
P O R T A L
Test Portlet
Test2 Portlet
Proxy Portlet
12
Gamess Portlet
  • Hosted by WSRP4Js embedded Pluto container
  • General Atomic and Molecular Electronic
    Structure System (GAMESS) is a general ab initio
    quantum chemistry package.

Gamess Portlet
13
Step 1
Pluto
WSRP4J
B R O W S E R
WSRP I N T E R F A C E
C O N T A I N E R
P O R T A L
P L U T O
Google
HTML
Test

HTTP
Gamess
User accesses the portal
14
Step 2
WSRP4J
Pluto
Markup
C O N T A I N E R
C O N S U M E R
P O R T A L
P R O D U C E R
P L U T O
Google
ServiceDescription
Test Portlet
Test
Registry
Test2 Portlet
Gamess
Management
Proxy Portlet
Portal presents links to Portlets. Remote
portlets (Gamess Test and Google) are represented
by ProxyPortlet. When selected, ProxyPortlet
aggregates its content.
15
Step 3
WSRP4J
Pluto
Markup
C O N T A I N E R
C O N S U M E R
P O R T A L
P R O D U C E R
GooglePortlet
P L U T O
Google
ServiceDescription
Test Portlet
Test
Registry
Test2 Portlet
Gamess
Management
Proxy Portlet
Information about the Producer is retrieved
16
Step 4
WSRP4J
Pluto
Markup
C O N T A I N E R
C O N S U M E R
P O R T A L
P R O D U C E R
P L U T O
Google
ServiceDescription
Test
Registry
Gamess
Management
Consumer registers with the Producer
17
Step 5
WSRP4J
Pluto
Markup
C O N T A I N E R
C O N S U M E R
P O R T A L
P R O D U C E R
P L U T O
Google
ServiceDescription
Test
Registry
Gamess
Management
More detailed information about the Producer And
its offered portlets is retrieved
18
Step 7
WSRP4J
Pluto
Markup
C O N T A I N E R
C O N S U M E R
P O R T A L
P R O D U C E R
P L U T O
Google
ServiceDescription

Test

Registry
Gamess
Management
Markup fragments of requested portlets are
returned
19
Step 8
Pluto
WSRP4J
B R O W S E R
WSRP I N T E R F A C E
C O N T A I N E R
GooglePortlet
P O R T A L
P L U T O
Google
Test Portlet
HTML
Test
Test2 Portlet
HTTP
Gamess
Proxy Portlet
Markup fragments are aggregated and presented
20
Conclusion
  • WSRP
  • Supports development of presentation with web
    service
  • Complements JSR-168
  • Communications between remote portlets ?
  • WSRP-Coordination
  • Richer content
  • Growing community support
  • Gridsphere, IBM, Oracle, BEA, uPortal, Exo portal
  • Supporting other standards
  • Possible adoption of WSRF (Web Service Resource
    Framework)for
  • accessing stateful information

21
References
  • WSRP
  • http//www.oasis-open.org/committees/tc_home.php?w
    g_abbrevwsrp
  • WSRP4J
  • http//ws.apache.org/wsrp4j/
  • Pluto
  • http//portals.apache.org/pluto/
Write a Comment
User Comments (0)
About PowerShow.com