检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]合肥工业大学计算机网络系统研究所,安徽合肥230009
出 处:《计算机技术与发展》2009年第8期54-57,61,共5页Computer Technology and Development
基 金:国家自然科学基金(90718037)
摘 要:通过设计一种面向对象的Web Service API框架,使得Service调用者通过特定的命令和参数可实现对Web Service内部对象的操作,并且这些对象的数据可以通过XML格式返回给调用者。传统Web Service API设计中存在着接口数与对象数正相关的问题,随着系统中对象的增加,面向功能的接口设计方法会不断地增加实现了相应对象操作方法的接口,而面向对象的Web Service API框架可以使用最少的接口实现系统功能,有效地控制了接口的数量,缩短了Web Service调用者的学习曲线。这一框架同时实现了对Session,Cache和事务管理,并且提供安全验证机制,以及数据合法性的验证机制,有效地封装了业务逻辑和数据存取信息。利用这一API框架可以在不增加接口数量的前提下,通过配置文件来添加对象,为系统提供了良好的可拓展性。Web service caller can manipulate the object in the web service by many commands defined by the object oriented web service API framework, and the data of the object will return to the caller by the XML format. In traditional web service API design, there is a problem that the amount of the interfaces are increasing when adding more objects in the system. This function oriented design must add some new interfaces of the object to implement the manipulation of the object's attributes, but the object oriented method can use the limited interfaces to implement the functions of the system, and shorten the learning curve of the web service caller. This framework implements the management of session, cache, and transaction, and applies the mechanism of security validation, data validation, encapsulation of the business logic and the persistence of the data to the database, the system can be extendible by adding oonfigttration files of other objects without increasing any other new interfaces.
关 键 词:Web服务 接口设计 面向对象 应用程序接口 文档对象模型
分 类 号:TP31[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.229