Transcript 下載/瀏覽
A Web-based Mashup Environment for On-the-fly Service Composition 2008 IEEE International Symposium on Service-Oriented System Engineering Qi Zhao , Gang Huang Jiyu Huang , Xuanzhe Liu Hong Mei 報告者:謝侃呈 Abstract This paper proposes an on-the-fly approach to web-based service composition. We do not distinguish the design-time and runtime of services and their composition. We propose a component model for separating the service business and user interface. Introduction 什麼是WBS component? Many existing work provided web-based service composition environments, in which the service business logic and User Interface (UI) are encapsulatedinto a single component, called web-based service (WBS) components. Introduction Introduction Given a set of components, qualification means to check whether the proposed component satisfies a given set of requirements. The strict separation between design-time and run-time brings some serious limitations on software reuse. Motivation Scenario Motivation Scenario There are three WBS components: 1. A city weather forecast component 2. A Google Map 3. A geo-position detector The weather map displays 24-hours weather of the user’s geographical position on the map Motivation Scenario Problems: 1. Yahoo Map or Google Map ? 2. The geo-data of detector and map may be mismatched. 3. Redundant UI elements should be removed. Web-based Service Component Model Web-based Service Component Model Interface UI Programming Interface Implementation View Model Controller The controller manages the interaction logic between The view constructs and The business logic of WBS component: view. manages UI elements The 1) UI properties responds to model users’ and actions The model implements business methods and 2) invokes the corresponding The controller partlogic consists of severala element controllers. by invoking remote service 3) Events functions in the implementation Eachinteract element controller WBS components with others encapsulates the interaction logic ofinterface. one specific UI element. by their programming On-the-fly Service Composition In our approach, dynamic languages and the no separation between design-time and run-time are the most important in design rationales. On-the-fly Service Composition I. Retrieving Components II. Programming Interface Composition III. User Interface Composition I. Retrieving Components Our WBS component model does not distinguish between designtime and runtime. The composition environment is hosted in a web browser and implemented by JavaScript. II. Programming Interface Composition III. User Interface Composition CONCLUSION Developers can qualify components and their composition in a more effective and better user experience manner.