Abel Perez
Posts: 3
Nickname: abel
Registered: May, 2003
|
|
Re: run jini on Internet....is it possible?
|
Posted: May 16, 2003 12:46 AM
|
|
Using unicast to access services accross the internet only makes sense, multicasting regardless of the ttl will get no where, since all ISP's block UDP multicasts at the router level to avoid packet storms. However there is a solution that can keep your services using the discovery protocol. What you would have to do is create a virtual pipe between lookup services. For example, the lookup services running on your local network could register itself through unicast with the lookup service running on your freinds network, and vice versa. Jini services that would require a print service would multicast on your local network for a print service, if nothing is available locally, then your request could get delegated down the virtual pipe accross the internet to your freinds lookup service. This would allow you to both use multicast and unicast in a way that seems transparent to your jini clients/services.
To implement this approach you could extend SUN's reggie implementation of the lookup service and add the capabilty to delegate the lookup process to a remote lookup service, you could create some sort of relay agents between the two networks that would synchronize the two lookup services, or you could use an event delegation system between the two lookup services that notifies each other of new service registrations in attempt to maintain synchronization...
The list could go one, all you have to do is get a little creative and you can get around this problem :)
Abel Perez.
|
|