Differences between JMS and CORBA?

余生颓废 提交于 2019-12-21 20:05:47

问题


I have just read about CORBA and JMS, they both seem to be used to implement Broker Architecture/Pattern.

I have few questions regarding them

1.The differences between them are still not clear to me, anybody please explain ?

2.Is CORBA is used in today's IT Solutions ? Or is it losing charm ?

3.Does JMS can replace every aspect of CORBA ?


回答1:


Ramon Gil Moreno is right in stating that

JMS is the Java API that allows building applications to send and receive messages. IBM MQ or ActiveMQ are samples of JMS vendors that implements this API.

CORBA on the other hand is a specification that specifies how objects can interact with each other over a network across programming languages and run-time platforms.

The standard includes many APIs and infrastructure definitions (language bindings, marshalling, naming etc.), that are needed to support this. CORBA is still being used, and is Open Source as well as commercial (hard to find!)

Implementations exist, but I doubt if any of them covers 10% of the standard. Ramon's statement that CORBA is closer to RMI is a bit too simple - CORBA 2.4+ definitions include a CORBA Messaging definition that allows asynchronous and (reliable) queued communication.




回答2:


CORBA, which is not hot nowdays, allows objects to be used remotely by different systems. It is more similar to RMI.

JMS is the Java API that allows building applications that send and receive messages. IBM MQ or ActiveMQ are samples of products that implements this API.



来源:https://stackoverflow.com/questions/29683209/differences-between-jms-and-corba

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!