Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Which is better: JMS or JMX?

Reply
Thread Tools

Which is better: JMS or JMX?

 
 
DaveB
Guest
Posts: n/a
 
      10-21-2004
Hello fellow developers,

I'm in the process of designing a java application that will interact with a
leagacy system written in C/C++. The legacy system uses a publish/subscribe
messaging architecture to notify applications when certain events occur. I
am trying to decide between two options: the first is to build a JMS
compliant interface over the legacy system, the other is to use JMX
notifications. Both options will require a fair amount of JNI coding so the
complexity of the two should be about the same. The only extra concern I
have is if I provide a JMS interface then I would be obliged to conform to
the standard, and hence increase development time.

I was wondering if you can think of any other options I should consider?
Also, are there any suggestions as to which option might be the more stable?

BTW, I'm more a C/C++ programmer than Java, so feel free to include even the
simplest options, I've probably overlooked them!

Thanks for taking the time to look at this,
Dave B.


 
Reply With Quote
 
 
 
 
m0smith
Guest
Posts: n/a
 
      10-21-2004
In article <JYGdd.54448$>, DaveB wrote:
> Hello fellow developers,
>
> I'm in the process of designing a java application that will interact with a
> leagacy system written in C/C++. The legacy system uses a publish/subscribe
> messaging architecture to notify applications when certain events occur. I

<snip>

JMS is the way to go for the situation you described. By conforming to
the standard, you do get some benefits like guaranteed delivery and
scalabilty. JMS is quite simple to program to so I wouldn't let learning
it overwhelm you.

JMX is a monitoring spec, not a publish/subscribe spec. You could beat it
into a publish/subscribe model but that is more what JMS is supposed to do
for you.

--
===========================
m0smith
http://sdf.lonestar.org
Public Unix
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
implementing or using jms or running jms without application server ravinder.ggl@gmail.com Java 0 06-26-2007 10:26 AM
JMS vs. Home-grown... Which is better in cluster? theRat Java 2 01-31-2007 02:30 AM
Microcontrollers: which one ? which language ? which compiler ? The Jesus of Suburbia NZ Computing 2 02-11-2006 06:53 PM
Which JMS implementation Jorge Java 1 01-04-2005 11:08 AM
How to setup JBoss for JMS (not MDB-JMS) ? Thomas Stein Java 0 10-18-2004 09:10 PM



Advertisments