• Post Reply Bookmark Topic Watch Topic
  • New Topic

where to JMX and where to Jini?

 
Arto Pastinen
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

Could someone give me little description where to use JMX and Jini and those differencies?

I have now studied both little time, and i don't know is there something that i can't understand, but i can't see no difference with these techonologies.

Only major difference for me is that there is direct support for JMX in java 1.5.

Thnx. Artsi
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JINI is a general purpose communication/services API for loosely connected distributed systems. See www.jini.org for examples.
The last time I looked, JMX stands for Java Management EXtensions - a much much more specific API.
I really don't see any overlap between the two.
Bill
 
Arto Pastinen
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

You are right. But what i need to know is where to use JMX and where Jini. I have check jini.org, but it didn't give me answers how to choose.

I have readed little specifications from both products, and in both specs there read's something like this. "MBean can describe anything, like printer, lamp, javabean etc.", and in Jini specs there is also same kind description for jini service.

So if i must descide will i use JMX or Jini, how can i choose because both give me same functionality. (except there is jconsole for JMX in java 1.5)
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To quote the Sun JMX site:
Java Management Extensions (JMX) technology provides the tools for building distributed, Web-based, modular and dynamic solutions for managing and monitoring devices, applications, and service-driven networks. By design, this standard is suitable for adapting legacy systems, implementing new management and monitoring solutions, and plugging into those of the future.

The intent of MBeans is Managing and monitoring.
Jini is more general purpose - suitable for moving all sorts of object around, not just MBean type objects. Thats why you would use Jini to build a computation grid for example.
What is it that you are trying to accomplish?
Bill
 
Arto Pastinen
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

Thank you, your last reply clean things little.

I don't have any task, i just study these.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!