Abstract
Adaptability in software is the main fascinating concern for which today’s software architects are really interested in providing the autonomic computing. Different programming paradigms have been introduced for enhancing the dynamic behavior of the programs. Few among them are the Aspect oriented programming (AOP) and Feature oriented programming (FOP) with both of them having the ability to modularize the crosscutting concerns, where the former is dependent on aspects ,advice and lateral one on the collaboration design and refinements. In order to provide remedy for the service failures that occurs at the servers of the respective service providers, there is a need to introduce the self-reconfiguration planes to be applied autonomically without the interruption of the administrator to solve the problem manually. In this paper we will Propose an Service Injection Design Pattern for Unstructured Peer-to-Peer networks, which is designed with Aspect-oriented design patterns .We propose this pattern which is an amalgamation of the Strategy Design Pattern, Worker Object Aspect-Oriented Design Pattern, and Check-List Design Pattern these can be used to design the Self-Adaptive Systems. The main concept here is that when a client requests for a complex service then Service Composition should be down to fulfill the request. With the help of strategy pattern we can choose a service that can do the task of two or more services at a single click. With the Web Service Description Language (WSDL) which is an XML file that can be requested from all the Web Services providing peers (as HTTP GET). This file contains the all the description about the service, means the input and output parameters of that service and its location details. When a client requests for a service that is not loaded currently in the memory will be injected as Aspectual Feature Module code. Here we will be using the Service Oriented Architecture (SOA) with Web Services in Java to Implement the Design Pattern. The pattern is described using a java-like notation for the classes and interfaces. A simple UML class and Sequence diagrams are depicted.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Dobson, S., Sterritt, R., Nixon, P., Hinchey, M.: Fulfilling the Vision of Autonomic Computing, vol. 43, pp. 35–41. IEEE Computer Society (2010), doi:doi:10.1109/MC.2010.14
JXTA Java Standard Edition v2.5: Programmers Guide, © 2002-2007 Sun Microsystems, Inc. (September 10, 2007)
Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley (1995)
Kuhlemann, M., Rosenmuller, M., Apel, S., Leich, T.: On the Duality of Aspect-Oriented and Feature-Oriented Design Patterns. In: Proceedings of the 6th Workshop on Aspects, Components, and Patterns for Infrastructure Software. ACM, New York (2007), doi:10.1145/1233901.1233906
Hannemann, J., Kiczales, G.: Design Pattern Implementation in Java and AspectJ. In: Proceedings of the International Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA), pp. 16–17 (2002), doi:10.1145/583854.582436
Tarr, P., Ossher, H., Harrison, W., Sutton, J.S.M.: N Degrees of Separation: Multi-Dimensional Separation of Concerns. In: Proceedings of the International Conference on Software Engineering (ICSE), pp. 107–119. 10.1145/302405.302457 (1999)
Laddad, R.: AspectJ in Action, 2nd edn., ch. 12. Manning (2010)
Prasad Vasireddy, V.S., Mannava, V., Ramesh, T.: A Novel Autonomic Design Pattern for Invocation of Services. In: Wyld, D.C., Wozniak, M., Chaki, N., Meghanathan, N., Nagamalai, D. (eds.) CNSA 2011. CCIS, vol. 196, pp. 545–551. Springer, Heidelberg (2011), doi:10.1007/978-3-642-22540-6_53
Apel, S., Leich, T., Saake, G.: Aspectual Feature Modules. IEEE Transactions on Software Engineering 34(2) (2008), doi:10.1109/TSE.2007.70770
Ferscha, A., Hechinger, M., Mayrhofer, R., Chtcherbina, E., Franz, M., dos Santos Rocha, M., Zeidler, A.: Bridging the gap with P2P patterns. In: Proceedings of the Workshop on Smart Object Systems, In conjunction with the Seventh International Conference on Ubiquitous Computing (2005)
Ramirez, A.J., Betty, H.C., Cheng: Design Patterns for Developing Dynamically Adaptive Systems. In: Proceedings of the 2010 ICSE Workshop on Software Engineering for Adaptive and Self-Managing Systems. ACM, New York (2010), doi:10.1145/1808984.1808990
Batory, D., Sarvela, J.N., Rauschmayer, A.: Scaling Step-Wise Refinement. IEEE Transactions on Software Engineering 30(6), 187–197 (2003), doi:10.1109/ICSE.2003.1201199
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag GmbH Berlin Heidelberg
About this paper
Cite this paper
Mannava, V., Ramesh, T., Quadri, M.A.R. (2012). A Design Pattern for Service Injection and Composition of Web Services for Unstructured Peer-to-Peer Computing Systems with SOA. In: Wyld, D., Zizka, J., Nagamalai, D. (eds) Advances in Computer Science, Engineering & Applications. Advances in Intelligent Systems and Computing, vol 167. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-30111-7_104
Download citation
DOI: https://doi.org/10.1007/978-3-642-30111-7_104
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-30110-0
Online ISBN: 978-3-642-30111-7
eBook Packages: EngineeringEngineering (R0)