Proposed Improvements


You might want to incorporate some of the following features to build value-added applications using our simple SOAP-over-P2P idea.

UDDI Support

As discussed earlier, UDDI offers a publish-and-search API similar to JXTA's publish-and-search features. UDDI publishes over server-side data repositories, whereas JXTA publishes over a distributed collection of peers, in which each peer is supposed to manage its own data.

Client-side UDDI implementation can be added to our SOAP-over-P2P application. Users can search for P2P services over UDDI registries, for example, to find what names to search for on the JXTA network.

UDDI offers a comprehensive arrangement of data structures. The parent of all UDDI structures is a business organization that consists of a number of smaller structures called business service structures.

Each service structure in turn consists of a number of binding templates that determine how the service is bound to an implementation. Service-binding detail specifies how and where the service is hosted (for example, the name/address of a SOAP server hosting the service implementation).

We can anticipate that standards will eventually evolve for P2P binding using UDDI binding templates.

For further details on UDDI structures, refer to my article "Using UDDI as a Search Engine" at WebServicesArchitect.com.

"Constructing a UDDI Client, Calling the UDDI Registry," another of my articles located at DevX.com, provides design and sample implementations of a UDDI client in Java. The integration of such a client into our SOAP-over-P2P application is quite straightforward.

Counting Invocation Requests and Implementing CRM Solutions

We implemented a very simple SOAP request-authoring mechanism within the pipeMsgEvent method of the Publisher class. This mechanism can be extended to keep a record of the number of invocation requests. A simple database write operation associated with every invocation request can do the job.

Customer Relationship Management (CRM) solutions can also be implemented, based on the data about customers who are interested in a particular service.



JavaT P2P Unleashed
JavaT P2P Unleashed
ISBN: N/A
EAN: N/A
Year: 2002
Pages: 209

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net