This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Future of Jini

 
Latha Kalaga
Ranch Hand
Posts: 96
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Keith,
I am curious about the future of Jini. With sun making a big push for J2EE, does anyone have any opinion as to how J2EE and Jini can co-exist and compliment each other?
Thanks
 
Frank Carver
Sheriff
Posts: 6920
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like Jini is designed to complement J2EE, as well as other "legacy" infrastructures. Jini is a from-the-ground-up implementation of a robust and manageable distributed processing system, and makes as much sense when used within an enterprise application as within a network of devices. because J2EE and Jini both use Java, they can work seamlessly together.
In a very simple example, if you want a web-browser view of some information or services from a Jini federation, you would use a J2EE servlet/JSP container to handle the HTTP/HTML and Jini or JavaSpaces to access the data or services. This is how I'm using Jini at the moment, as it requires no Java on the client machines.
 
Brett Knapik
Ranch Hand
Posts: 255
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as Jini being used in devices, I think it will probably be widely accepted in just about every communications device like laptops, and cell phones.
------------------
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work
 
Keith Edwards
Author
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Latha,
Originally posted by Latha Kalaga:
Hi Keith,
I am curious about the future of Jini. With sun making a big push for J2EE, does anyone have any opinion as to how J2EE and Jini can co-exist and compliment each other?
Thanks

Jini and J2EE are complimentary technologies--J2EE is (at least partially) about creating a component framework around various bits of enterprise technologies, like databases, app servers, etc.
Jini is about how components get interconnected. In particular, Jini affords a very dynamic sort of interconnection, where components can come and go in a very light weight way, automatically find out about each other, and so on.
IMHO, Jini will initially be used as a way to interconnect software services, including backend EJB components...not initially as a hardware interconnect, as Sun promotes it.
-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.
 
Tushar Kansara
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Keith,
One thing that hits me about JINI it ability to allow even hardware oriented services to delivered thru the network.
Can You elaborate for instance how the hell will Car sense that The gas in the tank has gone down & send a mailer to me for refilling of the gas or send a request notification to gas station with a authenticated request for gas filling.
Its okay when we say software service being plugged in plugged out of the network but whats happening how does the car understand that the petrol is down how does it know it has to send notification to the following gas station server etc...
Is it lot of rut, i hope u will help me make more sense.
Regards
Tushar
------------------
 
Keith Edwards
Author
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tushar,
Originally posted by Tushar Kansara:
Hi Keith,
One thing that hits me about JINI it ability to allow even hardware oriented services to delivered thru the network.
Can You elaborate for instance how the hell will Car sense that The gas in the tank has gone down & send a mailer to me for refilling of the gas or send a request notification to gas station with a authenticated request for gas filling.

Well, the scenario you just mentioned really has nothing to do with Jini. Jini is about dynamically interconnecting bits of software on a network in very fluid and robust ways.
Now, of course, if you have some sensors on your can that can detect the gas level and report it to a processor that's on the network somewhere, you could certainly turn this into a Jini service and build the sort of application you're describing. But Jini isn't some magic that will, out of the box, cause your car to send you email. :-)
-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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic