Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNDI and JINI

 
Luciano A. Pozzo
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JNDI an JINI have same purpose? (what's the diference?)
 
Annie Smith
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A Google search for both the terms should provide you the information
http://java.sun.com/products/jndi/
http://www.sun.com/software/jini/
 
Jignesh Patel
Ranch Hand
Posts: 626
Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JINI used while developing embedded systems.
JNDI used for application development.
 
Luciano A. Pozzo
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you give an example of embedded system?

Thank's
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The net as a whole is a much better place to gather homework assignment information, but if you are somehow restricted to the ranch, try reading the last month or so of this forum. Exactly the same sort of question has been discussed multiple times.
Bill
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jini isn't about embedded systems - unfortunately that perception is out there because for some reason every answer to "tell me what Jini does" uses Jini in embedded systems as the example.

Jini is like "super-RMI" - it provides dynamic discovery, "self healing" (i.e. - if one provider of a service isn't able to be accessed anymore, it will find another), and provides interfaces for clients and service providers to talk to each other.

JNDI just provides a directory service - a way to look up things. It doesn't provide a standardized way for a client to "talk" to a service.

You can replace the "lookup" service in Jini to use JNDI, and you can bind Jini services in JNDI. They aren't mutually exclusive technologies.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic