Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for...
Transcript of Aggregation of WSRP Channels on Eclipse Rich Client Platform · 2015. 1. 9. · Load balancing for...
Aggregation of WSRP Channelson Eclipse Rich Client Platform
Shoji KajitaAssociate Professor, Ph.D
Information Technology CenterNagoya University
Japan
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
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 :-)
JA-SIG 2005 Winter Conference
Background “To Realize More User Context-aware
Institutional Information Services”
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
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
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)
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)
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..
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
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
JA-SIG 2005 Winter Conference
Review of Current ParadigmFor Diverse Institutional Information Services
JA-SIG 2005 Winter Conference
Institutional Information ServicesHave Been Becoming Diverse
CMSLMS
InstitutionalWeb Site
Library
SIS
InstantMessage
Portfolio
Calendar
Finance
DepartmentWeb Site
Helpdesk
AcademicSocial
Network
Announce-ment
HumanResource
InstitutionalRepository
ContentMgmt
FileBackup
AntiVirus
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
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
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
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
JA-SIG 2005 Winter Conference
Possible Rich Client Solutions
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
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
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”
JA-SIG 2005 Winter Conference
Creating A Sample RCP Application: Step 1
JA-SIG 2005 Winter Conference
Creating A Sample RCP Application: Step 2
JA-SIG 2005 Winter Conference
Creating A Sample RCP Application: Step 3
JA-SIG 2005 Winter Conference
Creating A Sample RCP Application: Step 4
JA-SIG 2005 Winter Conference
Creating A Sample RCP Application: Step 5
JA-SIG 2005 Winter Conference
Creating A Sample RCP Application: Step 6
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
JA-SIG 2005 Winter Conference
WSRP
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
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)
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”
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)
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
JA-SIG 2005 Winter Conference
Sakai WSRP IntegrationUsing Eclipse RCP
WSRP4JSWT driver
BrowserWidget
HTML
Sakai ToolsWSRP
Producer
Constituent Institution
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
JA-SIG 2005 Winter Conference
Closing Thoughts
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
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
JA-SIG 2005 Winter Conference
Questions and Comments