mechanism. Traditional WSDL only provide a syn-
tactic description of the service. If a semantic de-
scription was used (with the introduction where pos-
sible of WSDL-S or OWL-S for example) it would
be possible to construct a semantic discovery mech-
anism that would allow more refined queries. The
ultimate goal of this improved discovery mechanism
would be to create a scenario where it would be possi-
ble to swap a faulty service for a semantically equiva-
lent service (or a combination of services) that reside
in a different namespace all in an automated way (a
similar approach can be seen in PANIC (Hunter and
Choudhury, 2006)). The semantic description could
also be used to aid peer selection process to choose
between peers offering the exact same service by ap-
plying an appropriate peer selection algorithm based
on the service requirements. For example if the re-
quested service was a storage service it would benefit
to be performed by a peer that has more available stor-
age space instead of one that offers more processing
power, leading to a more rational use of the available
hardware resources. It should be noted that having
advanced peer/service selection algorithms is of the
utmost importance to achieve performance gains and
is an important research topic (Xhafa et al., 2009),
(Mendonc¸a and Silva, 2005), (Dykes et al., 2000).
A critical component to the performance of the
system is the list of available providers. At this time
the list is generated dynamically each time a service
is requested. A possible improvement to the sys-
tem could be the introduction of a caching mecha-
nism. This would increase system performance for
frequently requested services. In this scenario peers
should not be permanently removed from the provider
list, instead they should be temporarily blacklisted
and moved to the bottom of the provider list. The time
that a peer is blacklisted should increase when we ex-
perience repeated failures, thus implying some sort of
failure counter. It is important to note that the counter
must be eventually be decreased in order to prevent
lasting impacts that a past transient network failure
might have provoked. The caching mechanism would
also need to be refreshed periodically to allow newly
discovered peers to join already created lists. Careful
tuning of when to perform a refresh and how to in-
crease and decrease the failure counter will be the key
to further performance gains.
ACKNOWLEDGEMENTS
This work was funded in part by the Portuguese
Foundation for Science and Technology grants
SFRH/BD/23976/2005 and GRID/GRI/81872/2006.
REFERENCES
Amoretti, M. (2009). Jxta-soap project.
(ApacheLucene) (2009). Apache lucene. http://lucene.
apache.org/java/docs/index.html.
Dykes, S., Robbins, K., and Jeffery, C. (2000). An em-
pirical evaluation of client-side server selection algo-
rithms. In INFOCOM 2000. Nineteenth Annual Joint
Conference of the IEEE Computer and Communica-
tions Societies. Proceedings. IEEE, volume 3, pages
1361–1370 vol.3.
Hunter, J. and Choudhury, S. (2006). Panic: an integrated
approach to the preservation of composite digital ob-
jects using semantic web services. Int. J. Digit. Libr.,
6(2):174–183.
Jr., J. G. R., do Carmo, G. T., Valente, M. T., and Mendonc¸a,
N. C. (2007). Smart proxies for accessing repli-
cated web services. IEEE Distributed Systems Online,
8(12).
(JXTA) (2007). Jxta v2.0 protocol specification. https://
jxta-spec.dev.java.net/.
(JXTA) (2009). Jxta homepage. https://jxta.dev.java.net/.
Mendonc¸a, N. C. and Silva, J. A. F. (2005). An empiri-
cal evaluation of client-side server selection policies
for accessing replicated web services. In SAC ’05:
Proceedings of the 2005 ACM symposium on Applied
computing, pages 1704–1708, New York, NY, USA.
ACM.
Pereira, M., Fernandes, M., Martins, J. A., and Pinto, J. S.
(2009). Service oriented p2p networks for digital li-
braries, based on jxta. In Shishkov, B., Cordeiro, J.,
and Ranchordas, A., editors, ICSOFT (2), pages 141–
146. INSTICC Press.
(SAAJ) (2009). The soap with attachments api for java.
https://saaj.dev.java.net/.
Xhafa, F., Barolli, L., Daradoumis, T., Fern
´
andez, R., and
Caball
´
e, S. (2009). Jxta-overlay: An interface for ef-
ficient peer selection in p2p jxta-based systems. Com-
put. Stand. Interfaces, 31(5):886–893.
Zhengdong, Z., Yahong, H., Ronggui, L., Weiguo, W., and
Zengzhi, L. (2009). A p2p-based semantic web ser-
vices composition architecture. In e-Business Engi-
neering, 2009. ICEBE ’09. IEEE International Con-
ference on, pages 403 –408.
WEB SERVICES DEPLOYMENT ON P2P NETWORKS, BASED ON JXTA
427