File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Using a private UDDI for adhoc networks Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Using a private UDDI for adhoc networks" Watch "Using a private UDDI for adhoc networks" New topic

Using a private UDDI for adhoc networks

Supriyo Chatterjea

Joined: Jul 09, 2002
Posts: 1
I'm trying to implement web services on a wireless adhoc network.
Consider a few wireless devices within range of each other each providing its own service(s). Each device maintains a sort of registry that keeps track of all the services that are being offered by all the devices in the adhoc network at a certain instant, e.g. if a network consists of devices A, B, C and D, device A's registry lists the services provided by itself *and* the services of devices B, C and D.
If a new device E enters the network, a service discovery algorithm ensures that A, B, C, D and E all have their own registries updated to indicate the services offered by all the devices in the adhoc network.
So basically,
(i) every device acts as a service provider *and* a service requester (client & server)
(ii) every device has it's own private registry that lists its own services *and* the services of the other devices in the network
Another point is that these services aren't exactly services being offered by businesses. It could apply to the following scenario, e.g. you receive an email on your PDA and would like to print it out. However, there isn't any printer available. Some time later, you happen to walk into a room where a printer is available. Your PDA detects the printer and asks you if you would like to print out your email.
So I'm talking about services like printing, displaying some output on a screen, etc., not services offered by businesses.
Now I'm thinking of using Jakarta Tomcat for the web server and Apache Axis for the SOAP engine.
Does anyone have any idea how I should go about implementing the registry?
I'm thinking of using an open source private UDDI. Does anyone know of one that may be suitable? I think I can use UDDI4J to link up to the private UDDI once I have one.
Does anyone have any comments on the model I just described above? Please feel free to share your views!
Thanks very much!
Debbie Argulkar
Ranch Hand

Joined: Jul 26, 2002
Posts: 43
JUDDI is another open source java based implementation of a UDDI registry. You might also want to try WASP UDDI.
Good Luck
Jim Baiter
Ranch Hand

Joined: Jan 05, 2001
Posts: 532
Has anyone tried any of the Tibco web services stuff? They seem to have some interesting QoS type of features associated with them and I was wondering if they were robust, etc.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
Sun's current XML Pack contains JAXR, the Java API for XML registries, that supports both UDDI and ebXML. Since you are operating in the wireless environment, UDDI may be too bulky - you may want to come up with your own scheme of service registry. Seems to me it is the WSDL stage (JAX-RPC in the XML Pack) that is the critical one.
I agree. Here's the link:
subject: Using a private UDDI for adhoc networks
It's not a secret anymore!