Font Size: a A A

Research And Design Of Web Services Baesed On REST

Posted on:2011-10-26Degree:MasterType:Thesis
Country:ChinaCandidate:X F ChengFull Text:PDF
GTID:2178360305482244Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With growing popularity and the scale increasing of Computer Applications, Distributed computing has been a significant development. However, with the popularity of applications in various fields and deepInternet of Internet in recent years, people urgent need for implementing the cross-platform, language independent, loosely coupled integration of heterogeneous applications and interaction on Internet, which proposes a new distributed computing requirements. Web service technologies have emerged as a new technology, which presents a service-oriented distributed computing model. Web Service since its birth as an emerging power, is in full swing in the start and continue to impact on the development of the Internet industry.Now almost all the major mainstream attention to the development of web services and achieve the Web Services on their companies. However, with the development of the Web Services, such as the Web Services based on soap, the Inadequacies also gradually becoming apparent, mainly because of its overly complex structure, which enhance the difficulty of development and maintenance. In this case, restful web service as a lightweight solution that is born, is no longer needed the support of soap agreement and SDK. It is full use the distributed characteristics of http protocols so that it can make the development of web services become more efficient, simple, and maintainable. Although the time is not long, there are a large number of companies and departments, which have conducted research and practice and made some considerable progress.The paper-Research and Design of Web Services Based on REST which choses the current mature restlet framework based on java, it studies how to develop the restful web servies of C/S mode and B/S mode in support of restlet framework. Finally it is compared with the traditional soap-based Web Services on the request form and the development structure in order to get their Similarities and differences and the advantages and disadvantages of restful web service.The paper main do the following work:(1) It describes the concept and development status of REST. Meanwhile, it analyzes the basic principles and composition of REST and highlights its advantage.(2) It studies how to implement the restful web service architecture of C/S mode and sets up "stock-based three-dimensional visualization of distributed data" as an example.It uses axis framework to achieve the soap-based web service to processing the stock data and use restlet framework to achieve the restful web service in order to study how the client calls the restful web service to complete the same function of the soap-based web service above. Finally, it has a comparison between Similarities and differences, the advantages and disadvantages of the restful web services and the soap-based web service.(3) It studies how to implement the restful web service architecture of C/S mode and sets up "online mall system" based the MVC architecture, including webwork, spring, ibatis, mysql, some other framework for supporting templates and scripts (velocity and jquery). It achieves restful web service on restlet framework in order to provide the service support for the "online mall system".In the page of the "online mall system", it studies how to achieve the Ajax asynchronous call using the current popular js framework jquery in the restful web service in order to do data processing and get return so that makes the system get a efficient system upgrade. Finally, it has a test of the result and a comparison between Similarities and differences, the advantages and disadvantages of the restful Web Services and the soap-based web service.The paper has the following traits on above work:1) It sets up environment of the restlet framework and studies how to implement the restful web service in the environment.2) In the C/S mode, for example visual services, it is to study how to design and implement the distributed soap-based web services and restful web services.At last, it has a comparison between them in order to get their difference.3) In the B/S mode, it studies how to provide the Ajax asynchronous call for invoking the distributed restful web services in order to get support of processing data, finally which achieves a efficient system upgrade.
Keywords/Search Tags:rest, soap, restful web service, restlet
PDF Full Text Request
Related items