Barry Atkins Heather Kreger Steve Graham Micro Managing – Implementing WSDM in the Small Tiny WSDM Demo.

Slides:



Advertisements
Similar presentations
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
Advertisements

Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
Introduction to push technology © 2009 Research In Motion Limited.
1 Industry-Wide System Management Standard Bernd Sint Seminar Grid Computing II WS 2006/07.
G O B E Y O N D C O N V E N T I O N WORF: Developing DB2 UDB based Web Services on a Websphere Application Server Kris Van Thillo, ABIS Training & Consulting.
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
OSGi: Open Services Gateway Initiative Richard Chapman 5 Sept
© 2009 Research In Motion Limited Methods of application development for mobile devices.
Building services in WSRF Ben Clifford Draft For GGF summer school, July 2004.
© 2005 EMC Corporation. All rights reserved. Module 9 Workflows.
Universal Plug and Play (UPnP) Presented by: Kamal Kamal Kamal Kamal Mohammad Atieh Mohammad Atieh.
archiving and DB2 CommonStore for Lotus Domino IBM INFORMATION ON DEMAND COMES TO YOU February 5, 2008 Bangkok, Thailand.
1 Application Specific Module for P-GRADE Portal 2.7 Application Specific Module overview Akos Balasko MTA-SZTAKI LPDS
September 12-14, 2005 Bethesda North Marriott Hotel & Conference Center North Bethesda, Maryland.
Android Introduction Platform Overview.
Technology Coordinators Training. Confidential Copyright © 2007 Pearson Education, Inc. and/or one or more of its direct or indirect affiliates. All rights.
Behavioral Patterns  Behavioral patterns are patterns whose purpose is to facilitate the work of algorithmic calculations and communication between classes.
Introduction to the Atlas Platform Mobile & Pervasive Computing Laboratory Department of Computer and Information Sciences and Engineering University of.
Introduction to BlackBerry Smartphone Web Development —Introduction to Browser Push Trainer name Date V1.00 © 2009 Research In Motion Limited.
Web application architecture
1 WS-Notification Overview Alan Weissberger NEC-Labs America GGF11 June 8, 2004.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
Objectives  To define network  To identify use of network  To differentiate major types of network  To identify basic networking terminologies  To.
Phone: Mega AS Consulting Ltd © 2007  CAT – the problem & the solution  Using the CAT - Administrator  Mega.
Computer Emergency Notification System (CENS)
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
Webservice versioning using osgi Allard Buijze, Jettro Coenradie.
1 WS-Notification Overview Alan Weissberger NEC-Labs America GGF11 June 8, 2004.
Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs.
Click to edit Master title style WSDM A Web Services Stack for Management Composing WS Standards Heather Kreger
AJAX Compiled from “AJAX Programming” [Sang Shin] (Asynchronous JavaScript and XML)
OASIS WSDM TC Face To Face Agenda January, 2005 IBM, Boulder, CO.
1 Web Services Web and Database Management System.
Click to edit Master title style Web Services Distributed Management: An Interoperability Demonstration Heather Kreger, IBM Bill Riechardt, HP Zhilli Zhang,
CONNECT EVERYTHING. ACHIEVE ANYTHING. ™ WS-Brokered Notification Dave Chappell Sonic Software.
Building a real-world, Internet- scale stock trading application Naveen Prabhu Quadwave Consulting Pvt. Ltd.
Case Study.  Client needed to build data collection agents for various mobile platform  This needs to be integrated with the existing J2ee server 
Agile SOA Agile EAI How do we achieve agility in Enterprise Integration?
Kemal Baykal Rasim Ismayilov
BlackBerry Applications using Microsoft Visual Studio and Database Handling.
S O A P ‘the protocol formerly known as Simple Object Access Protocol’ Team Pluto Bonnie, Brandon, George, Hojun.
Web Service Resource Framework WSMO Presentation Jos de Bruijn Digital Enterprise Research Institute http ://
MSG331 Exchange Server 2000/2003 Software Development Kit Susan Hill Lead Programmer Writer Microsoft Corporation.
ASP.NET SignalR SoftUni Team Technical Trainers Software University
Plug-in Architectures Presented by Truc Nguyen. What’s a plug-in? “a type of program that tightly integrates with a larger application to add a special.
ClearQuest XML Server with ClearCase Integration Northwest Rational User’s Group February 22, 2007 Frank Scholz Casey Stewart
WS-CIM mapping using WSDM Igor Sedukhin Heather Kreger Andreas Maier
On Using BPEL Extensibility to Implement OGSI and WSRF Grid Workflows Aleksander Slomiski Presented by Onyeka Ezenwoye CIS Advanced Topics in Software.
EBIZ302 Jupiter Business Process Automation and Web Services David Fong Program Manager.
Chapter 3 JSP Overview. The Problem with Servlets processing the request and generating the response are both handled by a single servlet class Java programming.
Steve Graham WS-Notification Technical Overview OASIS WS-Notification TC F2F Thursday, April 29th, 2004.
Interop Planning This is a brainstorm session, add as you wish Review Planning Logistics.
Steve Graham WS-ResourceFramework Modeling Stateful Resources With Web services OASIS WSRF TC F2F Wednesday, April 28th, 2004.
30 Copyright © 2009, Oracle. All rights reserved. Using Oracle Business Intelligence Delivers.
© 2004 IBM Corporation WS-ResourceFramework Service Groups Tom Maguire.
© 2005 Global Grid Forum The information contained herein is subject to change without notice Leading the pervasive adoption of grid computing for research.
Redmond Protocols Plugfest 2016 Jinghui Zhang Office Interoperability Test Tools (Test Suites and Open Source Projects) Software Engineer Microsoft Corporation.
WS-Resource Framework University of Amsterdam
Copyright ©2016 WatchGuard Technologies, Inc. All Rights Reserved WatchGuard Training What’s New in Fireware v
Windows Communication Foundation and Web Services
OGSA Profiles Interoperability Testing
Chapter 2: System Structures
CSC Java Programming, Spring, 2010
Windows Communication Foundation and Web Services
Chapter 3 Installing and Using Software
Building great Metro style apps for mobile broadband devices
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
CSC Java Programming, Spring, 2009
CSC Java Programming, Spring, 2013
Presentation transcript:

Barry Atkins Heather Kreger Steve Graham Micro Managing – Implementing WSDM in the Small Tiny WSDM Demo

© 2004 IBM Corporation WS-Resource framework Page 2 Agenda  The Demo  Motivation  Tiny WSRF - Resource Properties  Tiny WS-Notifications – Base Notifications  Tiny WSDM WSDM Management Event Identity  How Hard was That?

© 2004 IBM Corporation WS-Resource framework Page 3 Motivation  Show that WSDM and its requisite specifications can be implemented in resource constrained devices  WSDM composes for minimal WSDM, WS-Addressing, WSRF, WS-N were designed to be composable to allow for minimal implementation requirements in simple or constrained implementations  WDSM composes for the enterprise WSDM, WS-Addressing, WSRF, WS-N also provide composable functionality required to support complex, large scale systems.

© 2004 IBM Corporation WS-Resource framework Page 4 Topology BES Server WAS 5.1 (Wireless GW) (1)Blackberry connects to Wireless GW via BES tunneling (2)Client “discovers” Blackberry via Wireless GW (3)WSRF, WSN message exchanges to Wireless GW (proxy) (4)WSRF, WSN message exchanges to Blackberry WSRF and WSN Endpoint

© 2004 IBM Corporation WS-Resource framework Page 5 Functionality  “port” of ETTK WSRF-ResourceProperties GetResourceProperties -Retrieve value from Blackberry  Date, Time, Serial#, BatteryLevel, BatteryStatus, AllocatedStorage, FreeStorage, total code module size (0(n) calc) GetMultipleResourceProperties GetResourcePropertiesDocument -Equivalent to WS-Transfer Get SetResourceProperties (update) -Modify value of Blackberry  Date, Time, Color (this faults) WSRF-BaseFaults Blackberry GUI  “port” of ETTK WSN NotificationProducer -Just subscribe request/response -ShowSubscriptions Detect situation and format message for -Date change and time change (from WSRF Set) Drive notification message to consumer via EPR JVM KSoap (40k) WSRF (19k) WSN (32k) WSDM (12k) 102K

© 2004 IBM Corporation WS-Resource framework Page 6 Cost  1 developer 25 days Developer had good knowledge of Blackberry programming Good knowledge of ETTK No background with WSRF, WS-N, or WSDM

© 2004 IBM Corporation WS-Resource framework Page 7 Implementation The demo consists of:  Running on the Server device. Web interface Web services running on WAS 6.0  Running on the Blackberry device. Client code consisting of a tiny soap engine Soap server  WirelessDeviceGateway web service EndpointReference for the TinyWSRF implementation Forwards the requests to the various devices via a variety of device-specific transports The device is specified by a device property contained in the soap header. (wsa reference property)

© 2004 IBM Corporation WS-Resource framework Page 8 Tiny WSRF

© 2004 IBM Corporation WS-Resource framework Page 9 Tiny WSRF GetResourceProperty

© 2004 IBM Corporation WS-Resource framework Page 10 Tiny WSRF – GetMultipleResourceProperties

© 2004 IBM Corporation WS-Resource framework Page 11 Tiny WSRF - SetResourceProperty

© 2004 IBM Corporation WS-Resource framework Page 12 Tiny WSRF GetResourcePropertiesDocument

© 2004 IBM Corporation WS-Resource framework Page 13 Tiny Notifications - Subscriptions  Subscriptions may be created for the following topics :  Date_Change  - notification is performed when the device's date is changed  Inbox_Change  - notification is performed when the device's inbox is changed ( added or deleted)  Outbox_Change  - notification is performed when the device's inbox is changed ( added or deleted)  CodeModuleSize_Change  - notification is performed when the code size for all installed modules changes.

© 2004 IBM Corporation WS-Resource framework Page 14 Tiny Notifications - Subscribe

© 2004 IBM Corporation WS-Resource framework Page 15 Tiny Notifications - Unsubscribe

© 2004 IBM Corporation WS-Resource framework Page 16 Tiny Notifications - Unsubscribe

© 2004 IBM Corporation WS-Resource framework Page 17 Tiny Notifications - Unsubscribe

© 2004 IBM Corporation WS-Resource framework Page 18 Tiny Notifications – ShowSubscriptions

© 2004 IBM Corporation WS-Resource framework Page 19 Tiny Notifications – Seeing Notifications

© 2004 IBM Corporation WS-Resource framework Page 20 Tiny Notifications – Notification received

© 2004 IBM Corporation WS-Resource framework Page 21 It’s a WSDM Management Event! 4: a RIM a BlackBerry Device a ReportSituation Date change occurred T17:54:24.660Z

© 2004 IBM Corporation WS-Resource framework Page 22 Tiny WSDM The WSDM demo consists of the following scenario :  1. A subscription is created for the topic "CodeModuleSize" on the Blackberry.  2. An application is installed on the device, triggering a notification.  3. The NotificationConsumer receives the notification, and asks the device for a list of installed applications.  4. The list is compared to a known list of legal applications (via policy).  5. A request to remove the offending application(s) is sent to the device, which uninstalls the requested application(s).

© 2004 IBM Corporation WS-Resource framework Page 23 Tiny WSDM – Subscribe to CodeModuleSizeChange

© 2004 IBM Corporation WS-Resource framework Page 24 TinyWSDM – Load a New Application - HelloWorld At:

© 2004 IBM Corporation WS-Resource framework Page 25 Tiny WSDM – Get Link to New Application

© 2004 IBM Corporation WS-Resource framework Page 26 TinyWSDM – Download New Application

© 2004 IBM Corporation WS-Resource framework Page 27 TinyWSDM – Application Installed!

© 2004 IBM Corporation WS-Resource framework Page 28 TinyWSDM –Notification Received & Application Removed

© 2004 IBM Corporation WS-Resource framework Page 29 TinyWSDM – Application Removed  Device limitation: Icons on the Blackberry are only removed when the device is rebooted The HelloWorld application appears to remain installed becausethe icon appears on the device The HelloWorld application is not listed in the list of installed applications

© 2004 IBM Corporation WS-Resource framework Page 30 How hard was that? The device code consists of 2 components : A server component, and a UI component.  The server component runs automatically in the background. It connects to the WirelessDeviceGateway, and identifies itself using the device’s PIN.  The UI component provides simple feedback and configuration of the server component. It displays messages as they are received from the WirelessDeviceGateway, as a result of GetResourceProperty, etc requests. (not necessary)

© 2004 IBM Corporation WS-Resource framework Page 31 How much code? Code size written : 4000 lines Total compiled code size is 102Kb  Blackbarry: 4 main packages, ksoap2.cod 62,620 (library)(the soap engine/xml parser) TinyWSRF.cod19,724 (library) (code WSRF implementation) WSRFController.cod8,772 (application) WSRFServer.cod12,880 (application)  Server Code Module which handles the device-specific transport of the SOAP Envelope for the data transport for several different devices (WiFi, SMS, cellular, etc) that is transparent to the caller. Various JSPs & servlets for running the demo.

© 2004 IBM Corporation WS-Resource framework Page 32 Nitty Gritty Details package com.ibm.tinywsrf – 1448 lines  1,296 DocServer.java  2,659 EndpointReference.java  1,827 Notification.java  1,365 NotificationManager.java  10,089 NotificationMessage.java  2,765 NotificationProducer.java  951 ResourceProperties.java  9,284 Resources.java  3,232 Subscription.java  7,124 SubscriptionManager.java  5,067 Utils.java  4,610 WSConstants.java  2,294 WSRFConstants.java package com.ibm.wsrpcontroller lines  962 Controller.java  6,146 mainApp.java  3,568 SubscriptionsScreen.java  2,558 WDGSetupScreen.java  2,677 WSRPControllerScreen.java package com.ibm.tinywsrfserver lines  2,005 AppWatcher.java  19,584 CommandProcessor.java  1,931 DateWatcher.java  3,801 MailWatcher.java  5,404 mainApp.java  2,270 SOAPProcessor.java  107 UIListener.java  469 Watcher.java package com.ibm.wireless.rim lines  2,257 Marshaller.java  717 MarshallObject.java  682 Persistant.java  472 SOAPListener.java  11,395 SOAPServer.java  1,504 WDGSetup.java  2,417 WebService.java  4,136 WebServiceProxy.java

© 2004 IBM Corporation WS-Resource framework Page 33 Questions