How Run Two Jini Lookup Services on Same Computer For Testing?
posted 15 years ago
I want to run two different lookup services on the same computer. But here's the thing: 1. I do not want them to find each other UNLESS I explicitly ask them to (i.e. Unicast) I know this is a problem because the LookupServices all do multicast discovery and discover the "near" services. How do I start two diff. lookup services and ensure they won't find each other? 2. I want to start services on each lookup, but make sure it's unicast discovery for the services (normally i wouldn't do unicast, but I want to be sure Service A is only on Lookup A, and Service B only on Lookup B) Thanks! (Oh, I know that jini addresses ignore all "sub-folders" of an address, so it's impossible to map a jini lookup service to jini://18.104.22.168/Jini, it would treat this as jini://22.214.171.124 what does this mean for doing lookups on the same IP with diff. ports? Does it treat them as the same? - I'm assuming no)