Redian新闻
>
Java Web Services Tutorial 这个是最新的吗?
avatar
Java Web Services Tutorial 这个是最新的吗?# Java - 爪哇娇娃
m*j
1
要开始学习Java WS,官方网站上只找到这个tutorial
http://docs.oracle.com/cd/E17802_01/webservices/webservices/doc
l/doc/
日期是06年的,不知道是不是最新的?
另外不知道从这个tutorial入手学习是否合适?目前只做过一点桌面应用和jsp+jdbc i
n tomcat。如果还有别的教程推荐的话就太感谢了。
多谢多谢!
avatar
g*g
2
No, Java WS should be very simple. Check Apache CXF for SOAP and Jersey
for REST.

i

【在 m*****j 的大作中提到】
: 要开始学习Java WS,官方网站上只找到这个tutorial
: http://docs.oracle.com/cd/E17802_01/webservices/webservices/doc
: l/doc/
: 日期是06年的,不知道是不是最新的?
: 另外不知道从这个tutorial入手学习是否合适?目前只做过一点桌面应用和jsp+jdbc i
: n tomcat。如果还有别的教程推荐的话就太感谢了。
: 多谢多谢!

avatar
m*j
3
多谢!
大致看了看,感觉好像Java现在推的application server是glassfish?似乎是和apach
e的cxf功能相同的?不知道两个用起来有啥区别吗?应该用哪个?

【在 g*****g 的大作中提到】
: No, Java WS should be very simple. Check Apache CXF for SOAP and Jersey
: for REST.
:
: i

avatar
g*g
4
All you need is a web container for web service. You can use tomcat
or jetty.

apach

【在 m*****j 的大作中提到】
: 多谢!
: 大致看了看,感觉好像Java现在推的application server是glassfish?似乎是和apach
: e的cxf功能相同的?不知道两个用起来有啥区别吗?应该用哪个?

avatar
r*s
5
这年头app server有些过时,
spring+jetty/tomcat
spring mvc for restful service
cxf是个framework for both SOAP and REST services,
基本上替代了Axis2了。

apach

【在 m*****j 的大作中提到】
: 多谢!
: 大致看了看,感觉好像Java现在推的application server是glassfish?似乎是和apach
: e的cxf功能相同的?不知道两个用起来有啥区别吗?应该用哪个?

avatar
t*e
6
REST WS is relatively simple, while SOAP based could be very complex and
comprehensive. Below is the full list of SOAP WS specification,
WS-Addressing
WS-Policy
WS-PolicyAttachment
WS-Resource
WS-Notification
WS-Inspection
WS-Security
WS-Trust
WS-ReliableMessaging
WS-Coordination
WS-Transaction
WS-Routing
WS-Federation
WS-Eventing

【在 r*****s 的大作中提到】
: 这年头app server有些过时,
: spring+jetty/tomcat
: spring mvc for restful service
: cxf是个framework for both SOAP and REST services,
: 基本上替代了Axis2了。
:
: apach

avatar
g*g
7
while REST is certainly simpler and more light-weighted, SOAP
is more like a remote function call and it's easier to consume
with tools.

【在 t*******e 的大作中提到】
: REST WS is relatively simple, while SOAP based could be very complex and
: comprehensive. Below is the full list of SOAP WS specification,
: WS-Addressing
: WS-Policy
: WS-PolicyAttachment
: WS-Resource
: WS-Notification
: WS-Inspection
: WS-Security
: WS-Trust

avatar
r*s
8
en,
WS(SOAP)一开始也号称simple,
a typical interview question like
- "why is WS better than CORBA?"
- "it's simpler, duh!"
然后就越来越复杂啦,
thanks to the specs that you listed.
然后new typical questions like
- "why do you choose REST over SOAP?"
- "duh, because it's simpler!"

【在 g*****g 的大作中提到】
: while REST is certainly simpler and more light-weighted, SOAP
: is more like a remote function call and it's easier to consume
: with tools.

avatar
N*m
9
即便如此,说的也还是事实

【在 r*****s 的大作中提到】
: en,
: WS(SOAP)一开始也号称simple,
: a typical interview question like
: - "why is WS better than CORBA?"
: - "it's simpler, duh!"
: 然后就越来越复杂啦,
: thanks to the specs that you listed.
: 然后new typical questions like
: - "why do you choose REST over SOAP?"
: - "duh, because it's simpler!"

avatar
r*s
10
只有你解决的问题Simple不Simple,
技术上原理上实现上没太大区别
当然,
SOAP is screwed by the XML hype

【在 N*****m 的大作中提到】
: 即便如此,说的也还是事实
avatar
N*m
11
这不对,有时候即使问题simple,工具本身繁琐,那就不行了

【在 r*****s 的大作中提到】
: 只有你解决的问题Simple不Simple,
: 技术上原理上实现上没太大区别
: 当然,
: SOAP is screwed by the XML hype

avatar
r*s
12
您跟我说的不是一个事儿,
您说的是静态的比较,
我是说从发展的角度来看,
都一样,
一开始的时候都是简单的,
或者以为了简单的名义出现的,
发展了一段时间,
这堆人要解决federation
那堆人要解决confidationality
这堆人要能rounting
那堆人要canonicalization,i18n ...
其实简单还是复杂,
都是marketing的需要,
忽悠着客户更新换代,
我们才有饭吃,
呵呵

【在 N*****m 的大作中提到】
: 这不对,有时候即使问题simple,工具本身繁琐,那就不行了
avatar
S*h
13
Where to find the good spring+jetty/tomcat tutorials for someone new to J2EE?

【在 r*****s 的大作中提到】
: 这年头app server有些过时,
: spring+jetty/tomcat
: spring mvc for restful service
: cxf是个framework for both SOAP and REST services,
: 基本上替代了Axis2了。
:
: apach

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。