Skip to main content

A Novel Way of Providing Dynamic Adaptability in P2P JXTA Sockets Using Aspect Oriented Programming

  • Conference paper
Advances in Network Security and Applications (CNSA 2011)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 196))

Included in the following conference series:

  • 2319 Accesses

Abstract

The need for adaptability in software is growing, driven in part by the emergence of autonomic computing. In many cases, it is desirable to enhance existing programs with adaptive behavior, enabling them to execute effectively in dynamic environments. The peer-to-peer (p2p) paradigm is attracting increasing attention from both the research community and software engineers, due to potential performance, reliability and scalability improvements. P2P model has opened many new avenues for research and applications within the field of distributed computation, so performance evaluation is unavoidable. In this paper we are using Aspect oriented programming (AOP) to enable dynamic adaptation in existing p2p JXTA Sockets. We propose an approach to implement dynamic adaptability especially in existing p2p JXTA socket programs and Aspect weaving in p2p JXTA using AOP. We have used AspectJ; Java based language to create aspects in Eclipse supported framework.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Kephart, J.O., Chess, D.M.: The vision of autonomic computing. IEEE Computer 36(1), 41–50 (2003)

    Article  Google Scholar 

  2. Kiczales, G., Lamping, J., Mendhekar, A.: Aspect-oriented programming. In: Aksit, M., Auletta, V. (eds.) ECOOP 1997. LNCS, vol. 1241, pp. 220–242. Springer, Heidelberg (1997)

    Chapter  Google Scholar 

  3. Rowstron, A., Kermarrec, A.-M., Castro, M., Druschel, P.: SCRIBE: The design of a large-scale event notification infrastructure. In: Crowcroft, J., Hofmann, M. (eds.) NGC 2001. LNCS, vol. 2233, p. 30. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  4. Zhu, Y., Wang, H., Hu, Y.: A Super-Peer Based Lookup in Structured Peer-to-Peer Systems. In: ISCA PDCS, pp. 465–470 (2003)

    Google Scholar 

  5. Jiang, N., Schmidt, C., Matossian, V., Parashar, M.: Enabling Applications in Sensor-based Pervasive Environments. In: Proceedings of the 1stWorkshop on Broadband Advanced Sensor Networks, (BaseNets 2004) (2004)

    Google Scholar 

  6. jxta-meteor official web site: https://jxta-meteor.dev.java.net/

  7. Kato, D.: GISP: Global Information Sharing Protocol A Distributed Index for Peer-to-Peer Systems. In: Proceedings of the 2nd International Conference on Peer-to-Peer Computing (P2P 2002), p. 65 (2002.d)

    Google Scholar 

  8. Ratnasamy, S., Francis, P., Handley, M., Karp, R., Schenker, S.: A scalable content-addressable network. In: Proceedings of the 2001 conference on Applications, Technologies, Architectures, and Protocols for Computer Communications, pp. 161–172 (2001)

    Google Scholar 

  9. Halepovic, E., Deters, R.: The Costs of Using JXTA. In: Third International Conference on Peer-to-Peer Computing (P2P 2003), p. 160 (2003)

    Google Scholar 

  10. jxta-benchmarking official web site: https://jxtabenchmarking.dev.java.net/

  11. Clement, A., Harley, G., Webster, M., Colyer, A.: Eclipse AspectJ: aspect oriented programming with AspectJ and the Eclipse AspectJ development tools. Addison Wesley Prof., Reading (2005)

    Google Scholar 

  12. Avgustinov, P., Christensen, A.S., Hendren, L., Kuzins, S., Lhoták, J., Lhoták, O., deMoor, O.: An Extensible AspectJ Compiler. In: Proceedings of the 4th International Conference on Aspect-Oriented Software Development, pp. 87–98. ACM Digital Library, New York (2005)

    Google Scholar 

  13. Yang, Z.: An Aspect-Oriented Approach to Dynamic Adaptation. In: WOSS 2002 (2002)

    Google Scholar 

  14. Dantas, A., Borba, P.: Adaptability Aspects: An Architectural Pattern for Structuring Adaptive Applications with Aspects. In: Proceedings of SugarloafPLoP 2003 Conference (2003)

    Google Scholar 

  15. David, P., Ledoux, T.: Towards a Framework for Self-Adaptive Component-Based Applications. In: Proceedings of FMOODS/DAIS (2003)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Mannava, V., Ramesh, T. (2011). A Novel Way of Providing Dynamic Adaptability in P2P JXTA Sockets Using Aspect Oriented Programming. In: Wyld, D.C., Wozniak, M., Chaki, N., Meghanathan, N., Nagamalai, D. (eds) Advances in Network Security and Applications. CNSA 2011. Communications in Computer and Information Science, vol 196. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-22540-6_61

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-22540-6_61

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-22539-0

  • Online ISBN: 978-3-642-22540-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics