p*2
7 楼
HornetQ怎么样?
d*i
12 楼
多谢,我的理解是JMS是异步的,而web service中貌似JAX-WS支持异步,JAX-RS标准目
前对异步的支持还在逐步完善制定中?不知我的理解对不对。
【在 z****e 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 以前,web service并不成熟,所以rpc可以有的选择很少
: 最早的时候还在用corba,后来有了rmi,再后来就有了jms,最早jms和jpa都是ejb的一
: 部分
: 再后来尤其是其它语言系统觉得这样信息孤岛不划算
: 于是在http基础之上搞出了web service,使得其它语言系统比如php跟java系统结合变
: 得普及
: java内部用jms沟通相对简单,而且以前ejb和web service不支持异步处理
: 要实现的话除了jms之外只有自己去写了
前对异步的支持还在逐步完善制定中?不知我的理解对不对。
【在 z****e 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 以前,web service并不成熟,所以rpc可以有的选择很少
: 最早的时候还在用corba,后来有了rmi,再后来就有了jms,最早jms和jpa都是ejb的一
: 部分
: 再后来尤其是其它语言系统觉得这样信息孤岛不划算
: 于是在http基础之上搞出了web service,使得其它语言系统比如php跟java系统结合变
: 得普及
: java内部用jms沟通相对简单,而且以前ejb和web service不支持异步处理
: 要实现的话除了jms之外只有自己去写了
z*e
14 楼
web service以前版本很难用
wsdl1的各种术语看得恶心要死
wsdl2之后就很容易理解,什么interface之类的
都是写代码常见的概念,所以我一般都不喜欢用2.x以下版本的
ejb对web service的支持还停留在soap上,rest支持可能要等到下一个版本
不过不打紧,web service部分可以换成其它框架jax-rs或者jax-ws
用spring的话也是类似的,用@Asyn就可以搞出异步了
再搞一个web service,jax-rs或者jax-ws都可以
【在 d****i 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 多谢,我的理解是JMS是异步的,而web service中貌似JAX-WS支持异步,JAX-RS标准目
: 前对异步的支持还在逐步完善制定中?不知我的理解对不对。
wsdl1的各种术语看得恶心要死
wsdl2之后就很容易理解,什么interface之类的
都是写代码常见的概念,所以我一般都不喜欢用2.x以下版本的
ejb对web service的支持还停留在soap上,rest支持可能要等到下一个版本
不过不打紧,web service部分可以换成其它框架jax-rs或者jax-ws
用spring的话也是类似的,用@Asyn就可以搞出异步了
再搞一个web service,jax-rs或者jax-ws都可以
【在 d****i 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 多谢,我的理解是JMS是异步的,而web service中貌似JAX-WS支持异步,JAX-RS标准目
: 前对异步的支持还在逐步完善制定中?不知我的理解对不对。
d*i
15 楼
jax-rs的标准有很多实现版本,用了一下reference implementation的Jersey,发现很
好很方便,还有RestEasy,Apache CXF等等。
【在 z****e 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: web service以前版本很难用
: wsdl1的各种术语看得恶心要死
: wsdl2之后就很容易理解,什么interface之类的
: 都是写代码常见的概念,所以我一般都不喜欢用2.x以下版本的
: ejb对web service的支持还停留在soap上,rest支持可能要等到下一个版本
: 不过不打紧,web service部分可以换成其它框架jax-rs或者jax-ws
: 用spring的话也是类似的,用@Asyn就可以搞出异步了
: 再搞一个web service,jax-rs或者jax-ws都可以
好很方便,还有RestEasy,Apache CXF等等。
【在 z****e 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: web service以前版本很难用
: wsdl1的各种术语看得恶心要死
: wsdl2之后就很容易理解,什么interface之类的
: 都是写代码常见的概念,所以我一般都不喜欢用2.x以下版本的
: ejb对web service的支持还停留在soap上,rest支持可能要等到下一个版本
: 不过不打紧,web service部分可以换成其它框架jax-rs或者jax-ws
: 用spring的话也是类似的,用@Asyn就可以搞出异步了
: 再搞一个web service,jax-rs或者jax-ws都可以
x*d
17 楼
webservice is not exactly the same as messaging, jms is messaging, messaging
can do publish/sub and other messaging patterns, where webservice need to
be twisted to implement.
jms is not a protocol, it is a java thing. If you want cross language, you
might need protocol base solution. Like amqp, mqtt.
if you want to define your own protocol and dont want to program tcp/sockets
, you can try zeromq.
JMS brokers nowadays is not language dependent. So you can use activemq or
sonicmq or rabbitmq, as broker, and connect java and other languages, like
python. But strickly speaking JMS means java, but who cares?
can do publish/sub and other messaging patterns, where webservice need to
be twisted to implement.
jms is not a protocol, it is a java thing. If you want cross language, you
might need protocol base solution. Like amqp, mqtt.
if you want to define your own protocol and dont want to program tcp/sockets
, you can try zeromq.
JMS brokers nowadays is not language dependent. So you can use activemq or
sonicmq or rabbitmq, as broker, and connect java and other languages, like
python. But strickly speaking JMS means java, but who cares?
x*d
18 楼
jms is very useful if you do integration. have a look at spring integration.
you know spring is very piratical, if jms is not, spring wont put that much
effort into it.
jms is really powerful and useful, I have a lot of use case from ecom to
financial industry, everywhere. I know a new project that use to run
webservice for their BAM/esper app, now they are moving to JMS.
you know spring is very piratical, if jms is not, spring wont put that much
effort into it.
jms is really powerful and useful, I have a lot of use case from ecom to
financial industry, everywhere. I know a new project that use to run
webservice for their BAM/esper app, now they are moving to JMS.
p*3
19 楼
integration.
much
"webservice for their BAM/esper app, now they are moving to JMS"
展开说说,为什么不用webservice? 除了什么问题,为什么JMS可以解决?
【在 x****d 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: jms is very useful if you do integration. have a look at spring integration.
: you know spring is very piratical, if jms is not, spring wont put that much
: effort into it.
: jms is really powerful and useful, I have a lot of use case from ecom to
: financial industry, everywhere. I know a new project that use to run
: webservice for their BAM/esper app, now they are moving to JMS.
:
d*i
25 楼
I have the same thought as you do. I thought Beijing=peking2=peking3=......=
pekingN, are they all the same guy??? peking1 (if existed), should register
for the trade mark, LOL..
now
【在 x****d 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: I thought peking2=peking3, holy moly, I like peking3's avatar very much, now
: I am thinking of registering pekingN...
pekingN, are they all the same guy??? peking1 (if existed), should register
for the trade mark, LOL..
now
【在 x****d 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: I thought peking2=peking3, holy moly, I like peking3's avatar very much, now
: I am thinking of registering pekingN...
相关阅读
SilverStream Application Server 3.1Re: AWT和SWING到底有什么不同?Re: 怎么看jar里面有什么?a book ftp site.Re: 有人玩java3D么?JMIT v0.1 UPDATEAnother nice EJB server(recommend ;-)Re: 哪里有关于C++面试的题目啊?!Re: [转载] rephase the question赛车游戏。Re: 如何用java做skin.A nice EJB server(recommend)Re: 如何从键盘输入获得一个float值?谢谢!Re: How to distinguish Mouse Right-click and left-clJava questions 51-100Re: 请教一个关于IBM-JDK1.1.8和IBMJava2-13兼容性的问题Re: How to make a JButton stay pressed? (solution?)Java interview questionsFrameWork of Thread application 1Re: 谁能谈谈EJB!!