• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JINI

 
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since i don't know anything about JINI, can anybody introduce me to the topic.
 
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Read chapter 3, it's a little further advanced than a basic explanation but...
------------------
Hope This Helps:)
Carl Trusiak
 
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can give you an example that I heard from somebody else.
Lets say you have a report to hand in to a client in miami and you are on your way via plane, you realize you forgot to print out the report so what you do is use your laptop, cell phone or some other device and do a search for avaliable printers in miami you send the document through the network to the printer you chose to print it, it will be printed and you can pick it up and pay for it.
------------------
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As an alternative view:
Jini is an implementation of a complete rethink of the way distributed systems work, with the intention of producing distributed systems which work reliably even if individual systems are added, removed or changed, and which allow sutomatic and flexible "discovery" and use of services provided by the systems in the network.
While this can be used for the sort of 'plug my PC into the hotel network and discover what services are available' scenario discussed above, it's actually capable of far more.
Traditional distributed systems tend to hard-code a lot of knowledge about the structure and capabilities of the individual systems. Just think about all those CORBA and RMI IDL files and their products, and all the hard-coded machine names or dependencies on the structure of nameservers and all the complete duplicate clusters as the only practical fallback systems and all the driver version and configuration issues ...
Jini is different. Jini is dynamic and works without any of these dependencies. When a device or application joins a Jini system it requests information about how the system is arranged, then maybe publishes some services, or asks about some others.
When a device or application uses a service, it doesn't get some sort of perpetual connection, but instead gets a "lease" which must be periodically renewed to make sure both partners (the service provider and the service consumer) are still willing and able to carry on. Drivers are not a problem, as the service provider is able to just hand over a serialized object which the client can use to access the service.
 
Author
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Great description, Frank! I couldn't have said it better myself. :-)
-keith

------------------
Keith Edwards
xerox palo alto research center
author of: Core Jini
Which is also available as A Video Course
Read an Example Chapter - Chapter 3 or Chapter 10.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As far as trying to set up a simple example using JINI, can you use classes and interfaces like RMI?
 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I looked at other replies at javaranch and found that I could find some basic info at the SUN site, but please keep me in mind for the book, it sounds like a good thing to know if you are interested in programming with RMI. Thanks.
 
Keith Edwards
Author
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by tracey, currier:
As far as trying to set up a simple example using JINI, can you use classes and interfaces like RMI?


Absolutely! In fact, you can even use the RMI stub object for your service as its Jini proxy (see the link to Chapter 3 for more details). RMI is the simplest way to build Jini services and clients.
-keith


------------------
Keith Edwards
xerox palo alto research center
author of: Core Jini
Which is also available as A Video Course
Read an Example Chapter - Chapter 3 or Chapter 10.
 
Ranch Hand
Posts: 338
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

It sounds like the philosophy of JavaBean components extended to distributed applications and devices.
That's some power baby
 
Won't you be my neighbor? - Fred Rogers. tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic