The Study and Implementation of Web Services Asynchronous Invocation Model

Author
ChenTingBin
Advisor
GuGuanQun
School
Southeast University
Major
Applied Computer Technology
Classification
TP393.09 The application of computer network
Degree
Master's thesis
Year
2006
Downloads
192
Citations
1

Request the full text

Abstract

Along with the Intranet/Internet having been developed swiftly, computer technology has already got more and more widespread and thorough application in such aspects as production, management and commercial affair of enterprises. The demand of Service Oriented Architecture (SOA), Dynamic Electro-Business (DEB) and Enterprise Application Integration (EAI) is thereupon springing up. Web Services has got broad concern and support as the technology of a new basic platform of SOA, DEB and EAI, and has been been actually obtains many applications. But because Web Services, as a distributed computing platform, is still imperfect on its service call models which implemnets now, therefore has not got the large-scale industrial application throughout.Although Web Services can support many kinds of network communication protocols, because HTTP has many advantages such as widespread usage, ability of passing through firewall and etc, makes Web Services based on HTTP (Web Services/HTTP) become the most general adoption actually. But under this mode, the service call models have only been implemented in one-way and synchronous request/reponse model, and as to Asynchronous Invocation Model (AIM) and Message/Events Service (MES), it still have not uniform realization and standard. This thesis researches how to consummate AIM of Web Services/HTTP, designs and realizes the all of AIM including Callback, Polling, Callback with Acknowledge (ACK) and Polling with ACK.Referred to existing research results of Web Services AIM, the pattern based on MultiThreading Synchronous Invocation (MTSI), which includes network connection of each request and network connection pool subpattern, is designed and realized to implement AIM. Because the pattern of MTSI exists many shortcomings such as heavy threads load on client operation system, long system delay time, taking too many network resources and low resource usage rate, the novel pattern based on Asynchronous SOAP (Asyn SOAP), which includes service thread of each request and serice threads pool subpattern, is proposed and realized to overcome the defects of MTSI. Meanwhile, Petri Net is used to describe these two system designs of MTSI and Asyn SOAP, then the maturity theory of Petri Net is imported to analyse and prove the related properties of the system designs, which mainly includes: whether exists dead locks and live locks, and whether the system can achieves the final expected state as well as whether has the states which are not hoped. Through the analysis and verification, the correctness of these two system designs is proved.Then referring the user program interface of Asynchronous Method Invocation (AMI) in CORBA, the user interface of Web Services/HTTP AIM is defined. Based on existing tool of WSDL to client program stub of Web Services in java, the new expanded tool of WSDL2Java, which can automatically generate the corresponding client stub of AIM according to WSDL, is implemented. Finally, under the campus network of CERNET and the Internet of telecom, the functions and performance items (includes average system delay time, throughput of system and average client number that the server can accepts concurrently) of the two prototype systems based on MTSI and Asyn SOAP pattern are experimented, then the test result is compared and analyzed in detail. According to the function experiment, either pattern of MTSI or Asyn SOAP can correctly implements AIM, and the performance test result has proved that the pattern of Asyn SOAP is superior to MTSI in many aspects.

Table of contents

Summary 4-5 Abstract 5-8 paper illustrations index 8-10 Introduction 10-18 < br /> 1.1 Web Services of produce to 1.1.1 need of service-oriented architecture 10-11 10 1.1.2 dynamic e-commerce needs the 1.1.3 enterprise application integration needs 10-11 1.2 Web Services Technical Overview 11-13 1.3 Web Services service invocation model status quo the 13-14 Web the Services service call process 1.3.1 13 1.3.2 existing Web Services invocation model insufficient 13-14 1.4 papers research objectives and significance 14 1.5 related work and the results have been 14-15 the 1.6 paper content and innovation 15-16 1.7 papers organization 16-18 Chapter II Web Services service invocation model 18-26 2.1 service invocation model 18-21 2.2 Web Services asynchronous call model 21-25 2.2.1 Based on JAXM implementations 21 2.2.2 based Net framework to achieve 21-22 <br / > 2.2.3 based on the realization of the underlying asynchronous communication protocol 22-23 2.2.4 HTTP-based implementations 23-25 ?? 2.3 Petri net its aids INA 25-26 Chapter MTSI mode AIM 26-42 3.1 MTSI model-based the AIM design of 26-32 3.1.1 Design ideas 26 3.1.2 synchronous request / response model structure 26-27 3.1.3 network connecting every request MTSI mode 27-32 <br / > 3.1.4 Network connection pool MTSI mode 32 3.2 based MTSI mode AIM Petri net analysis 32-42 3.2.1 callback model analysis 33-36 3.2.2 polling model analysis 36-42 Chapter Asyn SOAP mode AIM 42-54 4.1 based Asyn the SOAP model the AIM Design 42-48 4.1.1 design ideas 42 4.1.2 service thread per request Asyn SOAP mode 42-48 the 4.1.3 service thread pool mode Asyn SOAP 48 4.2 based on Asyn SOAP mode AIM Petri net analysis 48-54 4.2.1 polling model Petri network description are found; 48-50 4.2.2 Polling Petri net model 50-54 the fifth chapter AIM prototype system to achieve 54-68 < br /> 5.1 development environment and tools 54 5.1.1 hardware environment the 5.1.2 software environments and tools 54 54 5.2 user interface defined 54-57 5.2.1 asynchronous callback model 55-57 5.2.2 asynchronous polling model the 5.3 based MTSI model 57 AIM realize 57-61 5.3.1 system as a whole to achieve 57-59 the 5.3.2 agent thread realization 59-60 5.3 .3 Callback Agent achieve 60 5.3.4 Polling Agent realization the 60-61 5.4 Asyn SOAP-based model AIM 61-65 5.4.1 system as a whole to achieve 61-63 5.4.2 Asyn, the Stub implementation 63 5.4.3 Callback Table realization 63-64 < br /> the 5.4.4 Asyn Message Listener implementation the 64-65 5.4.5 Asyn Message Dispatcher realization 65 5.5 Client the Stub automatically generated 65 -68 the sixth chapter AIM prototype testing and analysis system 68-80 6.1 test environment 68 6.2 Functional Test 68-71 < br /> 6.2.1 testing program 68-69 6.2.2 test cases 69-71 6.2.3 test results 71 6.3 performance testing and analysis 71-78 6.3.1 Performance Evaluation 71-72 6.3.2 testing programs 72-73 6.3. 3 test results and analysis the 73-78 6.4 Test Conclusion 78-80 Chapter VII Conclusion the 80-82 7.1 paper summarizes the 80-81 7.2 Web Services asynchronous call model development direction 81 7.3 future work 81-82 Acknowledgements 82-84 Reference 84-88 the author in during the Master's degree completed papers 88

Related dissertations

  1. Research on Web Services for Embedded Security System
    MaMingMan ·Shanghai Jiaotong University ·2010 ·Master's thesis
  2. The Designing and Implementation of China Mobile Vas Web Services Automatic Testing Tool
  3. And realizing the system platform design conscripts based information tracking based on SOAP protocol
  4. Design and Realization of the Purchasing Management System Based on Web Services
    ZhouHong ·Hunan University ·2011 ·Master's thesis
  5. Research and Application of Enterprise Application Integration Technology Based on Soa
    YangMing ·Zhejiang University of Technology ·2012 ·Master's thesis
  6. The Design and Implementation of a Web Service Based Mobile Sales Management System
    XiaoShiZuo ·Nanjing University ·2012 ·Master's thesis
  7. Research on Web Services-Based Service Management Technology
  8. Study on Access Control Mechanism of Web Services and Its Composition
    WuMin ·Donghua University ·2006 ·Doctoral dissertation
  9. Agile Supply Chain Management System Based on Web Services
    XiongGuangCai ·Northwestern Polytechnical University ·2002 ·Doctoral dissertation
  10. GRID GIS key technology research
    RenJianWu ·Nanjing Normal University ·2003 ·Doctoral dissertation
  11. Research and Implementation based the UPnP protocol digital media adapter system
    LiXuanYong ·Guizhou University ·2007 ·Master's thesis
  12. Study of the Way to Realise Virtual Enterprise Information System Based on Internet
  13. Web services in e-commerce
  14. Research and Implementation of Psychology Consulting System Based on Web Services
  15. Net Marketing System Based on SALT
    LiYongLiang ·Sichuan University ·2004 ·Master's thesis
  16. The Procurement Process Optimization of L Group Hotel in Preparatory Period
    XuSongLi ·Xiamen University ·2014 ·Master's thesis
  17. Research on the Interconnection Problems of Production Management Data of Enterprise in Supply Chain
    WangLu ·Dalian Jiaotong University ·2013 ·Master's thesis
  18. Configuration Modeling and Applications Based on Web
  19. Design and Implementation of Multi Equipment Data Acquisition System Based on Soap
    ChenChong ·Xiamen University ·2013 ·Master's thesis
  20. Research on Architecture of Command and Control System Based on SOA
    LiFengYun ·Shenyang Ligong University ·2013 ·Master's thesis