Open Source for Open Cloud Nov 24~25, 2010 Paris, France A Cloud Platform for Delivering Instant Development Service with Service Oriented Approaches Hailong Sun sunhl@act.buaa.edu.cn Beihang University (BUAA), Beijing, China Nov. 24, 2010
Agenda Service oriented software development Service cloud platform Summary 2
Service oriented software development Service oriented software design & development Basic approach Improve the productivity of software development through reusing of loosely-coupled services over Internet Applications Component Services Key issues Service management Service composition Runtime management Infrastructure 3
Our vision FutureWare Require. Specification toolkits for Software Developing Toolkits for registry and deploy Quality and Security Management Software production platform toolkits Web service CORBA EJB Middleware supporting platform Operating system Service & management Service schedule DB Network service Infrastructural platform Other components Service resources 4
From WebSASE to XServices 863 program HGJ program 1999 1999 XML Doc Security XKMS Service SAML Service XACL Service SOAP Protocol UDDI Protocol Web Service Object Container & Runtime Server Manage Console 2002 2002 & 2003 2003 Web Service Portal & WSRP Web Service Workflow & Tool Web Service Transaction Web Service Runtime 1.5 Web Console Web Service Application server - XService XLinker -Light Weight WSR Web Service Workflow 2.0 Web Service Reliable Message Web Console 2.0 AJAX UI WSRF Web Service QoS SOA/ESB Web Service Workflow 3.0 Semantic UDDI WSRuntime BPELEngine BPMNEngine UDDI SWSR WSDT WSManager 2000-2000- 2002 2002 2004-2004- 2006 2006 2007-2007- 2008 2008 2009-2009- 2010 2010 BPELDesigner BPMNDeveloper XML Information Process WebSASE XServices 1.0 XServices 2.0 XServices 3.0 XServices 4.0 5
Success stories: applications Application domains: e-government, Satellites, Remote Sensing, Health, Geology, ITS 7 applications: SOA based telecontrol and telemetering system of satellites Remote sensing data public service platform Management and service system of large scale spatial data Collaborative visualization system of 3D geological data Collaborative analysis system of medical data Remote control services of microscope Traffic information publishing system 12 Collaborating organizations Nonprofit Orgs: OW2 Opensource Consortium, Internet Open Standards Lab(ISOL) Research Institutes:Chinese Standards Institute of Electronic Technology, 27th Institute of Chinese Electronic Technology Inc., Chinese Academic of Spatial Technology, Peking University Companies:French Thales Inc., CVICSE, InterVision, China Center for Resource Satellite Data & Application(CRESDA), Jandar, Petrochina Daqing Oilfield, Sinopec Shengli Oilfield 6
Trustie project & SOARWare Trustie project: a key 863 project from MOST 2007-2010 Highly-trustworthy software production tools and environments For us: Beihang University Focusing on service oriented software design & development, and the trustworthy characteristics of software quality SOARWare : Service oriented software production and running environment Service resource management Design and development Runtime support 7
Architecture of SOARWare Online modeling and development SaaS-oriented Software Service Provisioning and Consuming Environment Service access Service provisioning Software modeling and development Business process modeling tool Service development tool Service choreography tool Service Oriented SPL Service deployment tool Service test & verification tool Other tools deploy Monitoring Service Container Service evolution mgmt. Service Bus Composite service engine Service running and evolution Service Reg./Discovery Service info. collecting Service Info. Mgmt. SOARBase Active service collecting Service mining 8
SOARBase: service management Service resources Atomic services Composite services (business process) Functionality Collecting: 17,000+ Registration & search Mgmt of service attributes (non-functional) Availability Response time Reputation Service mining Service recommendation 9
ServiceXchange The released version of SOARBase www.servicexcha nge.cn Not including business process management A totally new look will be seen very soon 10
Architecture of SOARWare Online modeling and development SaaS-oriented Software Service Provisioning and Consuming Environment Service access Service provisioning Software modeling and development Business process modeling tool Service development tool Service choreography tool Service Oriented SPL Service deployment tool Service test & verification tool Other tools deploy Monitoring Service Container Service evolution mgmt. Service Bus Composite service engine Service running and evolution Service Reg./Discovery Service info. collecting Service Info. Mgmt. SOARBase Active service collecting Service mining 11
Service oriented software production line Business requirement Intermediate assets Business model Web service Execution model Composite service Software product Service Oriented SPL Developer 12
Service oriented SPL SPL config & management tool Configue software production process Mgmt. of software production process Assign and Mgmt. of production tasks Mgmt of intermediate assets Various software production tools BP modeling tool Service choreography Service encapsulation Test and verification 13
BPIDE-Business Process IDE Collaboration between multi-roles Domain experts App. analysts Service developers A suite of tools Modeling tool Service encapsulation Service orchestration Verification tool Testing tools 14
Architecture of SOARWare Online modeling and development SaaS-oriented Software Service Provisioning and Consuming Environment Service access Service provisioning Software modeling and development Business process modeling tool Service development tool Service choreography tool Service Oriented SPL Service deployment tool Service test & verification tool Other tools deploy Monitoring Service Container Service evolution mgmt. Service Bus Composite service engine Service running and evolution Service Reg./Discovery Service info. collecting Service Info. Mgmt. SOARBase Active service collecting Service mining 15
Service running and evolution Service bus Message exchanging QoS-aware service scheduling Monitoring of composite service engines and service instances Service container Axis2 powered Easy service deployment Container management Composite service engine Distributed processing of BPMN service Dynamic service evolution 16
Source code statistics(~600k LOC) Modules Source files Size of source files( KB) LOC BPIDE 1753 9283 318606 Service Bus 64 234 8843 BPMN Engine 255 673 61535 SOAR Home 88 247 9224 SOAR Explorer 570 1165 84088 SOAR Base 494 1398 59198 Software Production Line 357 1040 38453 Web platform 87 262 24765 Total 3668 13,629 604,712 17
Successful applications Funded by 863 program Digital China Government tax service Wonders Information E-government applications 18
Agenda Service oriented software development Service cloud platform Summary 19
Reflections- many development supporting software involved Tools Business process modeler Service composition tool Verification and test tool Service deployment tool Monitoring tool Middleware Service container Composite service execution engine (workflow engine) Service bus 20
Problems The extra work for developers Install and configure various development tools Install and configure runtime supporting middleware Obtain and maintain underlying resources Machines Networks However they should focus on development. Dev. Service! 21
The crux of cloud computing Service IaaS: Infrastructure as a Service PaaS: Platform as a Service SaaS: Software as a Service Can we make use of cloud computing to save developers from the extra work? An online development environment A hosting platform An on-demand infrastructure service 22
Our goal Building a cloud platform for service oriented software development Instant development without installing tools Instant deployment without installing middleware Instant running without knowing the underlying resources 23
Moving towards a cloud platform Online application development Browser-based IDE Business process centric development Online sharing of software services Transparent deployment and running Similar to Google AppEngine, etc. 24
SCP: Service Cloud Platform Online development SaaS ServiceXchange MyCloud AppStore AppEngine (PaaS) Trustworthiness AS API Service deployment SA org. and mgmt. CS API RM API Service composition Scheduling, running & monitoring Service Mgmt. IaaS Software Appliance: Service Container BPMNEngine App Server Infrastructure resources (compute, storage, network ) 25
IaaS: software appliance provisioning Software appliance=vm/pm+ middleware Dynamic provisioning Manageability Functions Dynamic deployment/un-deployment of SAs Lifecycle management Monitoring Logging SA Manager Agent App Server BPMNEngine VM/PM Service Container 26
AppEngine and SaaS tools Online development Online App Access SaaS ServiceXchange MyCloud AppStore AppEngine (PaaS) Atomic Service API Composite ServiceAPI Runtime API API 27
App Engine: hosting environment CS invocation CS deployment Lightweight service bus CS monitoring AS deployment Load balancing Kernel SA Manager AS invocation Software appliance management Data management 28
MyCloud Personalized development environment Service subscription App development tools Instant development tools: BPIDELite- a lightweight BPMN editor and service composition tool suite. Instant deployment interface Instant running-virtual runtime environment MyServiceContainer MyBPMNEngine Online monitoring tool 29
BPIDELite Flex-based development toolset BPMN-based business process modeling Service orchestration Instant deployment 30
MyServiceContainer Virtual service container Service deployment/un-deployment WSDL file browsing Service invocation 31
MyBPMNEngine Virtual composite service execution engine BPMN compliant CS deployment BPMN model browsing Service invocation 32
Online monitoring Flex-based composite service monitoring Instance state Intermediate state (similar to debugging) 33
App Store Application management App publishing App categorizing App search 34
Agenda Service oriented software develoment Service cloud platform Summary 35
Summary: Past, Present and Future The past We have a lot of work in service oriented software From WebSASE to XService and SOARWare The present We are building a cloud platform for service oriented software development so as to provide instant service for developers Instant development Instant deployment Instant running The future Richer online development tools Better multi-tenant support Load balancing Separation Dependability Dynamic resource provisioning: incorporate existing IaaS technologies 36
A short demo of SCP Currency Exchange C a <->C b operator Service Cloud Platform EUR >USD;USD >EUR; ISK >USD;USD >ISK; GBP >USD;USD >GBP RMB >USD;USD >RMB RMB >EUR; EUR >RMB search convert payment S : C a C b? Yes: C a C b No: C a USD C b Improvement John Mary RMB ISK? S: C a USD C b Any problem? Each conversion will need some cost! 37
Thank you & Merci! Q&A 38
Service oriented software solution stacks Service-Oriented Applications on Internet Telecom 体 系 结 构 : Services Development Services Deployment E-Gov. & E-Com. ITS Video Meeting System Services Naming Services Information Portal Portal Services Workflow Engine Messaging Services Runtime External Interfaces and Specifications of System Events monitor Safety directory Etc. System Management Tools Security and Quality 39
developer WSWD Modeling tool development WS Portal monitor monitor WSMT Monitor tool WSWF bind find UDDI find bind monitor Service requester WSClient Develop tool find bind publish XService XLinker WS WS WS WS Service provider Transa,WSRF Rliable WS XService HTTP 1.1 WS XLinker development Service developer WSDesigner Development tool 40