This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, 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! Supriyo
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. Bill