File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes JNDI and JINI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "JNDI and JINI" Watch "JNDI and JINI" New topic


Luciano A. Pozzo
Ranch Hand

Joined: Jun 20, 2005
Posts: 112
JNDI an JINI have same purpose? (what's the diference?)
Annie Smith
Ranch Hand

Joined: Mar 05, 2005
Posts: 172
A Google search for both the terms should provide you the information

Cheers!<br /><b>Annie</b>
Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 626

JINI used while developing embedded systems.
JNDI used for application development.
Luciano A. Pozzo
Ranch Hand

Joined: Jun 20, 2005
Posts: 112
Can you give an example of embedded system?

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
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.
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

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.

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: JNDI and JINI
It's not a secret anymore!