由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - 现在做jasper report,amazon web services了,goodbug我要经常向你请教了。
相关主题
java web service 得迷惑什么是JAX WS
soa变成rest,大家公司在用哪个?need your comments
怎么把servlet publish成web servicesWhat about RMI/IIOP? Is that part of EJB specific
what do u think of SOAP vs REST ( or even FB's thrift server)?What's the relationship between Enterprise JavaBe
如何学习用Java开发Web Service?Re: EJB vs Corba
这个UDDI是咋回事儿?求讲解。。。请教个RMI的概念问题
on-line waiting: how to implement.....JAXB
java SOAP比restful难学吗?探讨一个 ORM + web service 的问题
相关话题的讨论汇总
话题: soap话题: web话题: rest话题: http话题: services
进入Java版参与讨论
1 (共1页)
c*********e
发帖数: 16335
1
现在做jasper report,amazon web services了,goodbug我要经常向你请教了。
刚把家里计算机的glassfish给删了,装了tomcat,eclipse里装了aws kit.开始做这方
面的了。web services只用c#做过,发现和java web services完全2码事啊,有点心虚
啊。咋办?短期上手看哪本书才行?
g*****g
发帖数: 34805
2
web service不难,看看jersey tutorial即可。1周可以熟悉得差不多。
我当年从SOAP转过来,也是现学先用。

【在 c*********e 的大作中提到】
: 现在做jasper report,amazon web services了,goodbug我要经常向你请教了。
: 刚把家里计算机的glassfish给删了,装了tomcat,eclipse里装了aws kit.开始做这方
: 面的了。web services只用c#做过,发现和java web services完全2码事啊,有点心虚
: 啊。咋办?短期上手看哪本书才行?

c*********e
发帖数: 16335
3
好像我们也用xml传值,jersey可以用xml传值吗?就记得用amazons3, ec2之类的。

【在 g*****g 的大作中提到】
: web service不难,看看jersey tutorial即可。1周可以熟悉得差不多。
: 我当年从SOAP转过来,也是现学先用。

g*****g
发帖数: 34805
4
Jersey is a rest implementation. aws is a laas. different stuff. certainly
you can use Jersey with xml or json.

【在 c*********e 的大作中提到】
: 好像我们也用xml传值,jersey可以用xml传值吗?就记得用amazons3, ec2之类的。
p*****2
发帖数: 21240
5

SOAP也算web service吧?

【在 g*****g 的大作中提到】
: web service不难,看看jersey tutorial即可。1周可以熟悉得差不多。
: 我当年从SOAP转过来,也是现学先用。

F****n
发帖数: 3271
6
Web Service can be based on SOAP
You can have non-WS SOAP application.
It's an RPC protocol.

【在 p*****2 的大作中提到】
:
: SOAP也算web service吧?

p*****2
发帖数: 21240
7

这是wiki上定义的
SOAP, originally defined as Simple Object Access Protocol, is a protocol
specification for exchanging structured information in the implementation of
Web Services in computer networks.

【在 F****n 的大作中提到】
: Web Service can be based on SOAP
: You can have non-WS SOAP application.
: It's an RPC protocol.

g*****g
发帖数: 34805
8
it's more or less outdated.

【在 p*****2 的大作中提到】
:
: 这是wiki上定义的
: SOAP, originally defined as Simple Object Access Protocol, is a protocol
: specification for exchanging structured information in the implementation of
: Web Services in computer networks.

F****n
发帖数: 3271
9
That's why you don't use wiki as the only reliable source of info
SOAP is successor of XML-RPC, it can be used without WSDL, e.g., to replace
Java RMI-IIOP, which is usually blocked by firewall.
In fact my first SOAP application was to replace a RMI rather than to build
a Web Service (although you can call it a "web service" if you like).

of

【在 p*****2 的大作中提到】
:
: 这是wiki上定义的
: SOAP, originally defined as Simple Object Access Protocol, is a protocol
: specification for exchanging structured information in the implementation of
: Web Services in computer networks.

p*****2
发帖数: 21240
10

replace
build
没明白你想说什么。貌似你也承认SOAP也可以做web service呀。

【在 F****n 的大作中提到】
: That's why you don't use wiki as the only reliable source of info
: SOAP is successor of XML-RPC, it can be used without WSDL, e.g., to replace
: Java RMI-IIOP, which is usually blocked by firewall.
: In fact my first SOAP application was to replace a RMI rather than to build
: a Web Service (although you can call it a "web service" if you like).
:
: of

相关主题
这个UDDI是咋回事儿?求讲解。。。什么是JAX WS
on-line waiting: how to implement.....need your comments
java SOAP比restful难学吗?What about RMI/IIOP? Is that part of EJB specific
进入Java版参与讨论
p*****2
发帖数: 21240
11

ZKSS

【在 g*****g 的大作中提到】
: it's more or less outdated.
F****n
发帖数: 3271
12
You can read English, can you?
p*****2
发帖数: 21240
13

你能读中文吗?

【在 F****n 的大作中提到】
: You can read English, can you?
F****n
发帖数: 3271
14
在你的“中文”里,以上逻辑是相等的?X可以用来做Y,所以X也算Y了???
p*****2
发帖数: 21240
15

看我问题的context。

【在 F****n 的大作中提到】
: 在你的“中文”里,以上逻辑是相等的?X可以用来做Y,所以X也算Y了???
S****h
发帖数: 558
16
悲惨,俺们公司才刚刚开始推行SOAP整合各项服务,才推出就被老大你write off 啦。
悲重中来啊! LOL

【在 g*****g 的大作中提到】
: it's more or less outdated.
z*******3
发帖数: 13709
17
soap是重量级的封装
如果你跟政府等官方机构打交道
几乎都是soap
如果只是轻量级的队友,比如其他公司
那么还是会遇到rest和json的
所以你们公司其实没有错,用soap变化少
虽然一开始烦了点,xml还是很不错的
其他的就不好说了

【在 S****h 的大作中提到】
: 悲惨,俺们公司才刚刚开始推行SOAP整合各项服务,才推出就被老大你write off 啦。
: 悲重中来啊! LOL

S****h
发帖数: 558
18
hehe,俺们金融公司,内部软件说白了,不过是个锦上添花的,CIO拍拍脑袋愿意用啥就
用啥。技术先进,优先级恐怕排老后面了。 LOL

【在 z*******3 的大作中提到】
: soap是重量级的封装
: 如果你跟政府等官方机构打交道
: 几乎都是soap
: 如果只是轻量级的队友,比如其他公司
: 那么还是会遇到rest和json的
: 所以你们公司其实没有错,用soap变化少
: 虽然一开始烦了点,xml还是很不错的
: 其他的就不好说了

B*****g
发帖数: 34098
19
正常呀,俺们公司才隹备开始,就这还阻力大大的

【在 S****h 的大作中提到】
: 悲惨,俺们公司才刚刚开始推行SOAP整合各项服务,才推出就被老大你write off 啦。
: 悲重中来啊! LOL

t*******e
发帖数: 684
20
REST进入integration领域没几年。SOAP独霸了十多年了。JSON schema和XML schema的
严格性没法比。Goodbug说soap outdated,估计是没干过enterprise integration的活
。非常多的工业规范就是XSD定义的。外加security,transaction的规范,REST想完全
取代SOAP是不可能的。

【在 z*******3 的大作中提到】
: soap是重量级的封装
: 如果你跟政府等官方机构打交道
: 几乎都是soap
: 如果只是轻量级的队友,比如其他公司
: 那么还是会遇到rest和json的
: 所以你们公司其实没有错,用soap变化少
: 虽然一开始烦了点,xml还是很不错的
: 其他的就不好说了

相关主题
What's the relationship between Enterprise JavaBeJAXB
Re: EJB vs Corba探讨一个 ORM + web service 的问题
请教个RMI的概念问题Web service needed
进入Java版参与讨论
t*******e
发帖数: 684
21
SOAP和Thrift, Avro可以类比。

replace
build

【在 F****n 的大作中提到】
: That's why you don't use wiki as the only reliable source of info
: SOAP is successor of XML-RPC, it can be used without WSDL, e.g., to replace
: Java RMI-IIOP, which is usually blocked by firewall.
: In fact my first SOAP application was to replace a RMI rather than to build
: a Web Service (although you can call it a "web service" if you like).
:
: of

g*****g
发帖数: 34805
22
REST is light-weighted, more readable. And it's as easy to consume these
days. And you can use XML with REST as well.
Now for legacy reason, SOAP is still being used in many places. But the
writing is on the wall.

【在 t*******e 的大作中提到】
: REST进入integration领域没几年。SOAP独霸了十多年了。JSON schema和XML schema的
: 严格性没法比。Goodbug说soap outdated,估计是没干过enterprise integration的活
: 。非常多的工业规范就是XSD定义的。外加security,transaction的规范,REST想完全
: 取代SOAP是不可能的。

t*******e
发帖数: 684
23
Your conclusion is biased. 等你先搞通了enterprise integration,再下个结论好
不好?

【在 g*****g 的大作中提到】
: REST is light-weighted, more readable. And it's as easy to consume these
: days. And you can use XML with REST as well.
: Now for legacy reason, SOAP is still being used in many places. But the
: writing is on the wall.

t***a
发帖数: 416
24
有好几年不整这个了,我就问问,rest结合xml, 不也还是用soap么? rest只是把wsdl
取代了吧?

【在 t*******e 的大作中提到】
: Your conclusion is biased. 等你先搞通了enterprise integration,再下个结论好
: 不好?

t*******e
发帖数: 684
25
SOAP/REST的本质差别不在payload, rest可以用xml, soap里面也可以包JSON. 差别在
于transport的实现不同。
Cited from wiki,
HTTP has a vocabulary of operations called request methods, most notably:
GET
POST
PUT
DELETE
REST uses these operations and other existing features of the HTTP protocol.
For example, layered proxy and gateway components perform additional
functions on the network, such as HTTP caching and security enforcement.
SOAP RPC over HTTP, on the other hand, encourages each application designer
to define new, application specific operations that supplant HTTP operations
. An example could be:
getUsers()
getNewUsersSince(date SinceDate)
savePurchaseOrder(string CustomerID, string PurchaseOrderID)
This additive, "re-invention of the wheel" vocabulary — defined on the spot
and subject to individual judgment or preference — disregards many of HTTP
's existing capabilities, such as authentication, caching, and content-type
negotiation.[10] The advantage of SOAP over REST comes from this same
limitation: since it does not take advantage of HTTP conventions, SOAP works
equally well over raw TCP, named pipes, message queues, etc.

wsdl

【在 t***a 的大作中提到】
: 有好几年不整这个了,我就问问,rest结合xml, 不也还是用soap么? rest只是把wsdl
: 取代了吧?

t***a
发帖数: 416
26
多谢,懂了

protocol.

【在 t*******e 的大作中提到】
: SOAP/REST的本质差别不在payload, rest可以用xml, soap里面也可以包JSON. 差别在
: 于transport的实现不同。
: Cited from wiki,
: HTTP has a vocabulary of operations called request methods, most notably:
: GET
: POST
: PUT
: DELETE
: REST uses these operations and other existing features of the HTTP protocol.
: For example, layered proxy and gateway components perform additional

z*******3
发帖数: 13709
27
成熟的规范肯定要用soap
如果是自定义的,当然用rest简单还有json

【在 t*******e 的大作中提到】
: REST进入integration领域没几年。SOAP独霸了十多年了。JSON schema和XML schema的
: 严格性没法比。Goodbug说soap outdated,估计是没干过enterprise integration的活
: 。非常多的工业规范就是XSD定义的。外加security,transaction的规范,REST想完全
: 取代SOAP是不可能的。

z*******3
发帖数: 13709
28
关键在于这些东西互相之间并不完全排斥
xml和json可以一起用,这两个只是封装格式的差别
soap也不定义传输协议,只定义封装协议
而rest则是复用了http协议里面的头,这部分跟soap的头重合了
但是两个头也不是不可以
所以这两个理论上也可以一起用
很容易混

protocol.

【在 t*******e 的大作中提到】
: SOAP/REST的本质差别不在payload, rest可以用xml, soap里面也可以包JSON. 差别在
: 于transport的实现不同。
: Cited from wiki,
: HTTP has a vocabulary of operations called request methods, most notably:
: GET
: POST
: PUT
: DELETE
: REST uses these operations and other existing features of the HTTP protocol.
: For example, layered proxy and gateway components perform additional

t*******e
发帖数: 684
29
这样解释是更准确一些。

【在 z*******3 的大作中提到】
: 关键在于这些东西互相之间并不完全排斥
: xml和json可以一起用,这两个只是封装格式的差别
: soap也不定义传输协议,只定义封装协议
: 而rest则是复用了http协议里面的头,这部分跟soap的头重合了
: 但是两个头也不是不可以
: 所以这两个理论上也可以一起用
: 很容易混
:
: protocol.

B*****g
发帖数: 34098
30
ding

【在 z*******3 的大作中提到】
: 关键在于这些东西互相之间并不完全排斥
: xml和json可以一起用,这两个只是封装格式的差别
: soap也不定义传输协议,只定义封装协议
: 而rest则是复用了http协议里面的头,这部分跟soap的头重合了
: 但是两个头也不是不可以
: 所以这两个理论上也可以一起用
: 很容易混
:
: protocol.

1 (共1页)
进入Java版参与讨论
相关主题
探讨一个 ORM + web service 的问题如何学习用Java开发Web Service?
Web service needed这个UDDI是咋回事儿?求讲解。。。
Which Web service is better EJB or RPCon-line waiting: how to implement.....
Re: Which Web service is better EJB or Rjava SOAP比restful难学吗?
java web service 得迷惑什么是JAX WS
soa变成rest,大家公司在用哪个?need your comments
怎么把servlet publish成web servicesWhat about RMI/IIOP? Is that part of EJB specific
what do u think of SOAP vs REST ( or even FB's thrift server)?What's the relationship between Enterprise JavaBe
相关话题的讨论汇总
话题: soap话题: web话题: rest话题: http话题: services