Archive of UserLand's first discussion group, started October 5, 1998.

Re: CORBA Random Number Server in Python

Author:Kent Spaulding
Posted:7/16/1999; 3:17:05 PM
Topic:Today's scriptingNews Outline
Msg #:8536 (In response to 8502)
Prev/Next:8535 / 8537

Yes, although I may be a bit sketchy on the details and names. I'll give it shot.

You can find a great little tutorial at http://www.artima.com/javaseminars/modules/Jini/index.html with good info. The first pages give an overview of Jini Lookup.

Jini has some protocols/services, Lookup, Join, and Discovery, that allow Jini Services to find one another. A Service registers itself with a Jini Lookup Server (via Discovery which finds Lookup Services and Join which adds a Service to the Lookup Service). Now other Services can use Lookup to find it.

How two Services interact once they know about each other is a matter of using an agreed upon protocol. This is not defined by Jini. So, printer manufacturers wil come up with the Jini Printer Service protocol, and so forth.

When you create a Service, you can get a UUID from Join which you'll then use from that point on when adding yourself to Lookup Servers.

Okay, much of Discovery only works on subnets with IP Multicast capabilities, at present. Wesley mentioned this. The plan is for Internet wide access at some point.

The coolest thing about Jini is that Services can be found, and then run locally. The code for the Service implementation can move from its server to your local box and eecute there. (This is optional of course, a service could send a proxy instead). That's a great feature.

It would be nice is XML-RPC had a similar service.




This page was archived on 6/13/2001; 4:51:26 PM.

© Copyright 1998-2001 UserLand Software, Inc.