摘 要
Web Service是目前计算机界一个非常流行的技术,以至于有些人把Web Service列入目前最热门的十大技术之一。的确,随着互联网的广泛应用和发展,尤其是电子商务的发展,出于互联网上各种复杂的应用系统和对更高安全性的要求,Web Service的横空出世的确满足了当前这些的要求和需要。Web service,作为在松散耦合和动态集成基础上提供无缝跨平台互操作的解决方案,具有松散耦合,位置透明,协议独立的特点,使得它不必依赖于某个特定的实现提供尚,协议独立的特点,使得它不必依赖于某个特定的实现提供尚,对运行环境的要求也比较宽松,因此特别适合Internet上分散应用的互联。
上传下载,作为分布式应用中的基本模块,目前主要采用控件的方法来实现,其缺点是需要下载控件,限制了使用的领域。随着Internet技术的发展和跨平台需求的日益增加,Web Services的应用越来越广,借助Web service的通用性,在Http协议下,实现上传下载逻辑的跨平台实现,采用J2EE实现之,并实现在J2EE平台下的调用。
本文的主要内容是介绍Web Service的相关知识,以及使用Jcreator来实现Web Services上传下载的功能。
关键词: Web service,上传,下载,跨平台,J2EE
ABSTRACT
Web Service is a technique popular in the computer word today so that has been considered as one of the 10 top pop techniques by some one. Along with the application and development of Internet, especially with the development of E-Business, complicated systems and better security are required, and the technique of Web Service just well fulfills the requirement, indeed.
As a sort of project, which providing seamless Cross-Platform interoperation based on loose coupling and dynamic integrating, Web service has the characteristics of loose coupling, location lucid and Protocol Independence, so it's independent of some special Implementation-Vendor and well fit for decentralized application and net working on internet.
Upload and download, as essential modules in distribution application, are realized by method of applying controls, whereas it's limited owning to its disadvantage, downloading controls being indispensable. Along with development of internet technique and more requirements on Cross-Platform tech., Web Service has been applied wider and wider. Recurring to Web Service's generality, under the agreement of HTTP, Upload and Download between Cross-Platforms and transferring on the platform of J2EE will be realized by applying J2EE .
Here, we'll introduce relative knowledge of Web Service and how to apply Jcreator to realize the function of Web Services' upload and download
Keywords: Web service,upload, download, Cross-Platform
目录
第一章 绪论
§1.1引言
§1.2 技术原理
§1.3发展动态
§1.4本论文章节安排
第二章 相关技术介绍
§2.1 什么是WEB SERVICE
§2.1.1如何调用WEB SERVICE
§2.1.2 组成WEB SERVICE的技术
§2.1.3 SOAP
§2.1.4 AXIS
§2.1.4小结
第三章 功能的实现
§3.1系统设计
§3.1 服务端
§3.2 客户端
第四章 总结与展望
致谢
参考文献
第一章 绪论
§1.1引言
随着Internet技术的发展和跨平台需求的日益增加,Web Services的应用越来越广,我们不但需要通过Web Services传递字符串信息,而且需要传递二进制文件信息。而Web service平台是一套标准,它定义了应用程序如何在Web上实现互操作性。可以用任何你喜欢的语言,不同的平台中编写Web service ,通过Web service的标准来对这些服务进行查询和访问。简单来讲,Web Services是一种新型的 Web 应用程序,Web Services是基于XML技术的一些标准的集合。这其中包括: SOAP、WSDL、UDDI,以及最近出现BPEL4WS(Business Process Execution Language for Web Services:用于Web Services的商务过程执行语言)和WSCI(Web Services Chorography Interface:Web Services协作接口)。而上传下载,作为分布式应用中的基本模块,随着Internet技术的发展和跨平台需求的日益增加,Web Services的应用越来越广,借助Web service的通用性,在Http协议下,实现上传下载逻辑的跨平台实现,采用J2EE实现之,并实现在J2EE平台下的调用。
§1.2 技术原理
Web Service是独立的、模块化的应用,能够通过因特网来描述、发布、定位以及调用。在Web Service的体系架构中包括三个角色:服务提供者(Service Provider)、服务请求者(Service Requestor)、服务注册器(Service Registry)。角色间主要有三个操作:发布(Publish)、查找(Find)、绑定(Bind)。
Web Service中涉及两个部分:服务本身和对服务的描述。典型的应用过程是:服务提供者开发一个通过网络可以被访问的服务,然后将服务的描述注册到服务注册器或者发送给服务请求者;服务请求者通过查找动作在本地或服务注册器中检索服务描述,找到后,通过绑定就可以使用该项服务。
在本文中,客户端通过使用服务器端提供的服务接口,来实现上传和下载的功能。