Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for...

40
Aggregation of WSRP Channels on Eclipse Rich Client Platform Shoji Kajita Associate Professor, Ph.D Information Technology Center Nagoya University Japan

Transcript of Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for...

Page 1: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

Aggregation of WSRP Channelson Eclipse Rich Client Platform

Shoji KajitaAssociate Professor, Ph.D

Information Technology CenterNagoya University

Japan

Page 2: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Agenda• Background

• ULAN: Ubiquitous Learning Architecture for the Next-generation• To Realize More User Context-aware Institutional Information Services

• Review of Current Paradigm• For Diverse Institutional Information Services

• Review of Rich Client Solutions• Current Technologies• Eclipse RCP

• WSRP• Sakai WSRP Producer• Eclipse WSRP Implementation

• Closing Thoughts• To Envision Our Future

Page 3: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Notes and Apologies

• In proposing, I wrote …. “In this presentation, we review WSRP, Eclipse RCPand its plug-in development, and then demonstratethe integration of Sakai WSRP producers and EclipseRCP to discuss the challenges and obstacles ofclient-side aggregation.”

• Our native tongue is not English• Be patient :-)

Page 4: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Background “To Realize More User Context-aware

Institutional Information Services”

Page 5: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Nagoya University

• One of the key national universities in Japan

• About 3,500 faculty & admin. staff• About 16,000 under-graduate & graduate

students

Tokyo

NagoyaOsaka

Kyoto

350km

Last year, the ITCs ofkey national universities

in these three majorcities started a researchproject to seek a next-

generation CourseManagement System for

Japanese H.E.institutions, under thesupport of Ministry ofEducation, Culture,Sports, Science and

Technologies

Page 6: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

ULAN Project• Objectives

• Develop a user’s context-aware CMS underubiquitous computing environment

• Release and maintain a production-level open sourceCMS that can be used in Japanese highereducational institutions

• Project Leader: Professor Kenji Mase• Five Years Research Project• Main Groups

• Nagoya University, Kyoto University, OsakaUniversity, CSK Corporation

Page 7: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Research Group Organization

(1)Research of User’s Context-aware UIHaruo Takemura (Osaka Universiy)

Application Oriented Team Infrastructure Oriented Team

Collaborative Evaluation Experiments with Three Universities

Project Management TeamLeader: Kenji Mase

(Nagoya Univ.)

(3)Evaluation in Language EducationMichihiko Minoh (Kyoto University)

(2)Research of User’s Context-aware NGCMS Enterprise SoftwareShoji Kajita ( Nagoya University)

Page 8: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

User Environment Is BecomingDiverse in Terms of Place and Device

Computer Lab Regular ClassRoom

OfficeHome

On Campus

Library

CaféRestaurant

PDA

Kiosk

CellarPhone

Public BigScreen

User Context Awareness is going to be a keytechnology in near future (5-10Y)

Page 9: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

User Context-awareNext Generation CMS Architecture

Integration of Abstracted Presentation

User Context-aware Resources

Portal Tier

Client Tier

ApplicationTier

DatabaseTire

Client-side PresentationClient-side Context Capture

Integration of User Context

ServiceA

ServiceB

CommonServices

Context AAnalysis

Context BAnalysis

CommonContext Analysis

Camera, Microphones,and Other Sensors..

Page 10: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Software ComponentsRich CMS Client

Portal Framework (uPortal)

SakaiCLE

WebCTVista

ADomestic

LMS

Fedora

Open Source

Proprietary

Original Work

Portal Tier

Client Tier

ApplicationTier

DatabaseTire

User’s context-aware contents

User’s context-aware, PC-based

CMS Client

User’s context-aware functions

User’s context-aware features

Page 11: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Questions Arise

• For our research project, it was necessaryfor us to “enrich” the capability of client-side (esp. Web browser) in order toacquire user context information• Is it enough for institution as production

system?• We could attain better user’s experiences by

Rich Client more and more….

That is why we started the aggregation ofWSRP channels on Rich Client

Page 12: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Review of Current ParadigmFor Diverse Institutional Information Services

Page 13: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Institutional Information ServicesHave Been Becoming Diverse

CMSLMS

InstitutionalWeb Site

Mail

Library

SIS

InstantMessage

Portfolio

Calendar

Finance

DepartmentWeb Site

Helpdesk

AcademicSocial

Network

Announce-ment

HumanResource

InstitutionalRepository

ContentMgmt

FileBackup

AntiVirus

Page 14: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Simplified Scenario

• Institution• wants to provide academic information

services• Constituent (Student, Faculty, Staff, …)

• wants to consume academic informationservices

Constituent Institution

Web Browser Web-base App Server

Page 15: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Current Web based ScenarioWeb Browser Web-based App Server

HTML

AuthenticationAuthorization

User Layout

RenderingAggregation

User MgmtGroup Mgmt

Pushed by institutionPulled by user

Request

All of key concepts except forrendering are located in server-side

Page 16: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

“Rich Client” based ScenarioRich Client Web-based App Server

AuthenticationAuthorization

User LayoutRendering

Aggregation

User MgmtGroup Mgmt

Pushed by institutionPulled by user

Aggregation of services, generating userlayout and rendering are done in client-side

Page 17: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Pros and Cons of“Rich Client” based Scenario

• ProsUser context-aware

Rich representation

Load balancing for simulation contents Institutionally secured “sandbox” on desktop

Gateway to mobile devices• Cons

Distribution and maintenance costs

Platform dependence

Page 18: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Possible Rich Client Solutions

Page 19: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Possible Rich Client SolutionsThrough my narrow view

• Web Browser based Solution• Browser independent

• Ajax based• Flash based

– Macromedia Flex– OpenLaszlo

• Browser dependent• XUL Application = XUL + JavaScript + XPCOM

– XUL: XML based User Layout– XPCOM: Cross Platform Component Object Model

• Non Web Browser based Solution• Eclipse Rich Client Platform

Page 20: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Rich Client SolutionsCharacteristics

?(SWT)

Client-side(Java)Eclipse RCP

(XUL)

Client-side(JavaScript)XUL

(Flash)

Server-side(Java)OpenLaszlo

(Flash)

Server-side(Java)Flex

(HTML)

Server-sideAjax

Maintenance(install)

PresentationRichness

LogicProcessing

CrossPlatform

Cross Platform: Availability on Windows, Linux, Mac OS

Page 21: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Eclipse RCP

• Not just a Java IDE• Eclipse IDE is also built on the top of

Eclipse RCP• It is easy to develop RCP-based

applications from Eclipse 3.1• “Tab Browser” demo• Steps to launch “Sample RCP application”

Page 22: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Creating A Sample RCP Application: Step 1

Page 23: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Creating A Sample RCP Application: Step 2

Page 24: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Creating A Sample RCP Application: Step 3

Page 25: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Creating A Sample RCP Application: Step 4

Page 26: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Creating A Sample RCP Application: Step 5

Page 27: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Creating A Sample RCP Application: Step 6

Page 28: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

• Sample RCP applications are good startingpoints to implement our own functionalities

• A framework to enable us to develop RCPbased institutional application is required• API to institutional services• Channel Development

Page 29: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

WSRP

Page 30: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

WSRP

• “Web Services for Remote Portlet”• OASIS Standard

• http://www.oasis-open.org/• WSRP 1.0 (approved in August 2003)

• http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=wsrp

• WSRP 2.0 (Mid 2005?)• WSRP defines

• WSDL interface description for invocation of WSRP services• How to publish, find, bind WSRP services• Markup fragment rules for markup emitted by WSRP

services

Page 31: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Objectives of WSRP

• To develop a web services standard that willallow for the plug-n-play of Portlets

• To enable an application administrator to pickfrom a rich choice of compliant remotecontent and application providers, andintegrate them with just a few mouse clicksand no programming effort(From “WSRP in uPortal" by Ken Weiner, JA-SIG 2003 Winter)

Page 32: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Typical Web Service vs. WSRP

BusinessLogic

Application X

Message in XML

Application Y

BusinessLogic

BusinessLogic

Application X

Presentation in HTML

Application Y

RenderingLogic

Typical Web Service WSRP

“WSRP Producer”

“WSRP Consumer”

Page 33: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

WSRP and uPortal

Jan 2004

Jan 2005

Jan 2006uPortal 2.4 enabled us to consume WSRP producer as WSRP channel

using Apache WSRP4J

2.4 2.4.2

From some point after 2.4.2, WSRP channel is not working correctly

(probably due to the use of old Axis in WSRP4J)

Page 34: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Sakai 2.1 WSRP Producer• Sakai 2.1 includes a WSRP producer interface for

most of its tools• allows individual tools to be placed in a WSRP consumer

portal simply by pointing to a Sakai deployment• Sakai tools as WSRP producer can be rendered either in a

separate configurable context or in any given Sakai sitecontext

• “Sakai WSRP Producer” by Vishal Goenka SunGardSCT• http://collab.sakaiproject.org/access/content/group/c340427d

-ce75-46f8-00c3-f4813d02afef/Sakai%20WSRP%20Producer/Sakai%20WSRP%20Producer.pdf

• The integration with uPortal is well-described inAndrew Petro (Yale) presentation of this conference

Page 35: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Sakai WSRP IntegrationUsing Eclipse RCP

WSRP4JSWT driver

BrowserWidget

HTML

Sakai ToolsWSRP

Producer

Constituent Institution

Page 36: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

We Need To Develop …

• WSRP4J SWT Consumer• Layout Manager

• Channels pushed by institution• Channels pulled by user

• SSO for WSRP• CAS could be used

• Some local RCP based tools• To enrich user’s experiences

Page 37: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Closing Thoughts

Page 38: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

In 1995

• Cellar Phone• Digital Camera• Internet Service Provider• Windows95• Java• WebCT (the leading Course Mgmt System)

• Murray Goldberg of UBC got an idea to facilitatemultiple online course creation by typical sets ofCourse Tools (November 23rd, 1995)

We have already had the beginning ofsomething that will get popularity in 10 years

Page 39: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

In 2015

• What will get popularity in institution?• uPortal?• CAS?• Blackboard (including merged WebCT)?• Sakai?• Moodle?

• “EPIC2014” - 8 minutes Flash movie• “Evolving Personal Information Construct”

uGrid: Evolving Academic PersonalInformation Services

Page 40: Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for simulation contents Institutionally secured “sandbox” on desktop Gateway to

JA-SIG 2005 Winter Conference

Questions and Comments