最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
J2EE构造web service
时间:2008-01-12 编辑:简简单单 来源:一聚教程网
Web Services Architecture
让我们在学习web services部署J2EE platform之前,我们先了解web service 的主要结构。
通过网络我们可以找到一些关于 web services的定义、发布、和调用。一个web service,如图一
图一
现在有两种web services:“RPC style and document style”,RPC-style web services是在最初受欢迎的。但在近几年是document-style是首选的web services。
RPC-style web services是远程程序调用,代表相互交互。RPC-style web services在交互信息中调用和返回必须先符合明确的签名,在应用中非常不方便。相反,document-style web services 通过用xml,来改变发送和接收应用。
许多的开发者觉得web services是一个有活力的技术,他继承SOA。因为它提供一个相互作用在不同的平台和轻便的技术。例如xml,soap,and http。
What Are Web Services Made of?
在web service首先要先定义A Web Services Definition Language (WSDL; pronounced "wizdle") 文档。
这个WSDL提供一个完全的描述web service,包括端口、操作、信息类型等。
Here is a simple example of a WSDL document that describes a HelloWorld web service:
targetNamespace="http://oracle.j2ee.ws/ejb/Hello"
-
上一个: 使用weblogic+jb开发配置说明
相关文章
- 荣耀9有什么构造 荣耀9做工构造详解 07-20
- 主板插槽是什么 主板插槽有什么构造 07-12
- 一加5有什么构造 一加5拆解详情 07-05
- Moto Z2 Play怎么样 Moto Z2 Play构造是什么 06-30
- 金立S1有什么构造 金立S1拆机详解 06-25
- 华硕K46CB有什么构造 华硕K46CB拆家详解 06-16