identifiers, produce checksums, or calculate hashes
based on the metadata of the new document.
Delegating the orchestration of one those services
and the storage to those providers would actually
increase network usage: instead of invoking the first
service, receiving the id/checksum and sending all to
the StoreDoc, PDF and image files would have to go
to the first service and from there to the StoreDoc
provider. Therefore, instead of
T
final
= 2S
XML
+ 2S
ID
+ S
PDF
+ S
JPG
we would have
T
final
= 2S
XML
+ S
ID
+ 2S
PDF
+ 2S
JPG
which represents one less SID but one more SPDF
and SJPG. By using our proposed criterion, and
since the id/checksum service has a predictably
small (numeric) response message, no delegation
would take place.
A final optimization could consist in trying to
merge activities in peers providing multiple
consecutive services. Although this could greatly
reduce network traffic, it would be difficult to
analyze the improvements of this strategy if factors
such as throughput were to be weighed. The case of
the last service called (storage) is however a
particular one – if the P2P network were to be used
also as the storage medium, this service could be
directly executed by the caller peer.
6 CONCLUSIONS
In this paper, the advantages of integrating peer-to-
peer networks, service orientation and process
execution orchestration were discussed.
Based on existing frameworks and on the
previous related work from other authors, we made
some architectural analyses and presented proposals
to improve the overall efficiency which covered the
P2P network framework (dynamic discovery,
invocation, and replication) and the way BPEL
engines function (dynamic discovery, partitioning,
and delegation). The proposed enhancements can
easily fall back when the network does not support
such optimizations.
ACKNOWLEDGEMENTS
This work was funded in part by FCT – Portuguese
Foundation for Science and Technology – grant
number SFRH/BD/23976/2005.
REFERENCES
Amoretti, M. e. a., 2008. Enabling Peer-to-Peer Web
Service Architectures with JXTA-SOAP. In IADIS e-
Society. Carvoeiro, 2008.
Bennett, K. e. a., 2000. Service-based software: the future
for flexible software. In Proc. Seventh Asia-Pacific
Software Engineering Conference, APSEC’00., 2000.
Bichler, M. & Lin, K.-J., 2006. Service-oriented
computing. Computer, pp.99-101.
Elfwing, R. & Paulsson, U., 2002. Performance of SOAP
in Web Service environment compared to CORBA
[master thesis]. Sweden: Blekinge Institute of
Technology.
Erl, T., 2005. Service-oriented Architecture: Concepts,
Technology, and Design. Prentice Hall.
Gruman, G.a.K.E., 2009. What cloud computing really
means. [Online] Available at:
http://www.infoworld.com/article/08/04/07/15FE-
cloud-computing-reality_1.html [Accessed March
2009].
Khalaf, R. K. O. L. F., 2008. Maintaining data
dependencies across BPEL process fragments.
International Journal of Cooperative Information
Systems, 17(3), pp.259-82.
Mandel, L., 2008. Describe REST Web services with
WSDL 2.0. [Online] Available at:
http://www.ibm.com/developerworks/webservices/libr
ary/ws-restwsdl/ [Accessed March 2009].
Marks, E. A. & Bell, M., 2006. Service-Oriented
Architecture (SOA): A Planning and Implementation
Guide for Business and Technology. New York: John
Wiley & Sons, Inc.
Montagut, F. & Molva, R., 2005. Enabling pervasive
execution of workflows. In International Conference
on Collaborative Computing Networking, Applications
and Worksharing. San Jose, CA, EUA, 2005.
Nanda, M.G., Chandra, S. & Sarkar, V., 2004.
Decentralizing execution of composite Web Services.
In Proceedings of the 19th annual ACM SIGPLAN
conference on Object-oriented programming, systems,
languages, and applications. Vancouver, 2004. ACM.
Pautasso, C., 2008. BPEL for REST. In 7th International
Conference on Business Process Management
(BPM08). Milan, Italy, 2008. SpringerLink.
Taylor, I., 2005. From P2P to Web Services and Grids:
peers in a client/server world. London: Springer-
Verlag.
Zimmermann, O. e. a., 2004. Service-Oriented
Architecture and Business Process Choreography in an
order management scenario: rationale, concepts,
lessons learned. In Object-Oriented Programming,
Systems, Languages and Applications Conference.
Vancouver, 2004. ACM.
INTEGRATING AND OPTIMIZING BUSINESS PROCESS EXECUTION IN P2P ENVIRONMENTS
177