Multi-Language Programming : Simplifying web service programming
来源:互联网 发布:淘宝开店不用交保证金 编辑:程序博客网 时间:2024/05/01 22:51
Let’s go deeper into common object environment. The environment manages interface objects of multiple different languages and provides interface to these languages to define object’s attributes, functions and events. It holds all information and parameters about the objects. Therefore, it can act as a proxy to other applications outside to complete some functions or function calls.
Web service is a popular method of remote call, which uses SOAP as interface standard. Common object environment can implement SOAP interface, and thus become a proxy for web service. This will simply the development of web service. The applications, components or libraries developed based on the environment may not aware of web service call. There are no difference between web service calls and normal calls. Let’s use a diagram to further illustrate.
In above figure, a class object defined in java language has a function “Add”. For its c/c++ instance, application can call “Add” function through environment as previously talked about. The “Add” function of c/c++ instance can also be used as web service. In this case, the WSDL file can be generated automatically by environment proxy. Other application can get WSDL of the instance by http post request. Then, they can initiate web service call, and the proxy routing the call to the function of the class object. The class object does not know whether the call is web service call or normal function call. It only needs to implement the “Add” function body using java. Is it simple?
Common object environment holds all information of interface. Thus, it can act as a proxy and generate WSDL file to provide web service function to outside applications, which will simply the development of web services.
- Multi-Language Programming : Simplifying web service programming
- Multi-Language Programming : Distributed Object
- Multi-Language Programming : Object As Medium
- Programming Language
- Multi-Language Programming : Entity Object Inheritance And Function Overloading_3
- Multi-Language Programming : Accessing Interface Objects Defined In Other Language_4
- Multi-Language Programming : More Complicated Function Call Between Languages_5
- Maple: Simplifying SDN Programming Using Algorithmic Policies
- The Curl Programming Language
- The Curl Programming Language
- The Programming Language Tips
- Perl Programming Language
- The Programming Language Idioms
- The Curl Programming Language
- Language Oriented Programming
- The D Programming Language
- Language Oriented Programming (翻译)
- D Programming Language
- apache.commons.io的使用
- Android应用开发UI(自动提示)自动补全
- cocos2d-x 中使用加减定位后的注意问题
- 最近很郁闷的心情
- android3D场景绘制1——房间的绘制
- Multi-Language Programming : Simplifying web service programming
- 动态SQL datetime 转义字
- SAP HR获取工资结果
- oracle学习笔记2
- 如何架设Linux打印服务器
- 判断一个标准文本文件的编码方式
- 代码规范:换行对齐问题
- 在excel中添加图片
- 记录win XP中 虚拟机安装android-x86无ip的解决方法