由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - 什么是JAX WS
相关主题
soa变成rest,大家公司在用哪个?soap binding with CXF
Web service needed如何学习用Java开发Web Service?
Which Web service is better EJB or RPCAxis vs. XFire?
Re: Which Web service is better EJB or Rwhat do u think of SOAP vs REST ( or even FB's thrift server)?
现在做jasper report,amazon web services了,goodbug我要经常向你请教了。Web service framework choice?
[转载] 急!在线等---从Servlet调用AXIS的Web Service 遇到问题!探讨一个 ORM + web service 的问题
怎么把servlet publish成web servicesweb service returns HashMap that contains multiple ArrayList
java web service 得迷惑anybody familiar w/ Axis? targetService is null
相关话题的讨论汇总
话题: jax话题: ws话题: rpc话题: soap话题: http
进入Java版参与讨论
1 (共1页)
p***p
发帖数: 559
1
以前写WS都是AXIS上手就做,然后再检查SOAP信息。但是现在做一个项目,对方要求在
文档里面写出什么是JAX WS,哪些优点等等,一下子就有点晕菜了。我一直以为AXIS直
接到SOAP啊,顶多内置了一下XML的Parser之类的,查查结果还要RPC和MSG模式
哪位能深入浅出生动地说说到底是怎么回事情?
http://www.ibm.com/developerworks/cn/webservices/ws-tip-jaxwsrpc.html
http://baike.baidu.com/view/1865210.htm
s******e
发帖数: 493
2
The first article pretty much summarize the differences between two and when
you should select one over another one.
I do not know what else you expect. jax-rpc is before jax-ws, and quite
heavy weight, and it also doesn't have the native support to asynchronous
model (it is basically built on top of request-response model).
jax-rpc is infamous for its difficulty to use(well aix kind of helping a lot
on this), but the api itself is still hard to use, this is another reason
they want to improve i
t*******e
发帖数: 684
3
RESTful ws is not SOAP based. There is no contract (WSDL) defined and
published for RESful interfaces. It is simple and easy to use but with
limitations.
JAX-RPC is the deprecated specification for JAVA SOAP technologies. JAX-WS
is the successor and the current specification, which is more portable and
light-weight.
There are two different WS architectures developers may choose from.
Contract-first (XML document-centric) approach, and RPC (object-centric)
approach. The first begins with WSDL and
p***p
发帖数: 559
4
谢谢两位,我更迷糊了
以前只用过AXIS1,我以为web service就是基于SOAP的,所有的都应该兼容,就像HTTP
一样,不管是IE FF Tomcat jetty等等,都可以互操作。
我可以说JAX RPC和JAX WS是Java Webservice的API,那么AXIS和JbossWS是他们的实现
吧。另外两者的XML又有什么区别呢?
看来RPC和WS之间就不兼容,另外Contract-first (XML document-centric) approach,
and RPC (object-centric) approach.似乎WS都是用WSDL开始的啊?
彻底糊涂了
这次对方规定要用JbossWS,请问应该是支持JAXWS吧,那么和AXIS兼容么
F****n
发帖数: 3271
5
WS == Web Protocols + Standardized (Method Call) Data Formats
Web Protocols: HTTP, etc.
Standard Data Formats: SOAP, etc.
JAX_RPC / JAX_WS == tools that MAP Java objects / method call to standard
data formats / HTTP.

HTTP
approach,

【在 p***p 的大作中提到】
: 谢谢两位,我更迷糊了
: 以前只用过AXIS1,我以为web service就是基于SOAP的,所有的都应该兼容,就像HTTP
: 一样,不管是IE FF Tomcat jetty等等,都可以互操作。
: 我可以说JAX RPC和JAX WS是Java Webservice的API,那么AXIS和JbossWS是他们的实现
: 吧。另外两者的XML又有什么区别呢?
: 看来RPC和WS之间就不兼容,另外Contract-first (XML document-centric) approach,
: and RPC (object-centric) approach.似乎WS都是用WSDL开始的啊?
: 彻底糊涂了
: 这次对方规定要用JbossWS,请问应该是支持JAXWS吧,那么和AXIS兼容么

g*****g
发帖数: 34805
6
Web service means XML based protocol over http, it's language neutral.
SOAP is like a function call while restful is more light-weight but
there's no standard. JAX-WS is the successor of JAX-RPC

HTTP
approach,

【在 p***p 的大作中提到】
: 谢谢两位,我更迷糊了
: 以前只用过AXIS1,我以为web service就是基于SOAP的,所有的都应该兼容,就像HTTP
: 一样,不管是IE FF Tomcat jetty等等,都可以互操作。
: 我可以说JAX RPC和JAX WS是Java Webservice的API,那么AXIS和JbossWS是他们的实现
: 吧。另外两者的XML又有什么区别呢?
: 看来RPC和WS之间就不兼容,另外Contract-first (XML document-centric) approach,
: and RPC (object-centric) approach.似乎WS都是用WSDL开始的啊?
: 彻底糊涂了
: 这次对方规定要用JbossWS,请问应该是支持JAXWS吧,那么和AXIS兼容么

1 (共1页)
进入Java版参与讨论
相关主题
anybody familiar w/ Axis? targetService is null现在做jasper report,amazon web services了,goodbug我要经常向你请教了。
Re: Can Web Services return Hash or Obje[转载] 急!在线等---从Servlet调用AXIS的Web Service 遇到问题!
http post binding in wsdl怎么把servlet publish成web services
JAX-RPC implementationjava web service 得迷惑
soa变成rest,大家公司在用哪个?soap binding with CXF
Web service needed如何学习用Java开发Web Service?
Which Web service is better EJB or RPCAxis vs. XFire?
Re: Which Web service is better EJB or Rwhat do u think of SOAP vs REST ( or even FB's thrift server)?
相关话题的讨论汇总
话题: jax话题: ws话题: rpc话题: soap话题: http