skip to main content
10.1145/1891701.1891705acmotherconferencesArticle/Chapter ViewAbstractPublication PagesmiddlewareConference Proceedingsconference-collections
research-article

An extensible framework for middleware design based on concurrent event-based AOP

Authors Info & Claims
Published:30 November 2010Publication History

ABSTRACT

Middleware simplifies application development by encapsulating common low-level concerns in modular reusable components. However, the traditional methods of software decomposition fail to properly encapsulate so-called cross-cutting concerns thus leading to scattered (and sometimes repetitive) code and difficult to maintain designs.

Aspect-Oriented Programming (AOP) aims to solve these issues by encapsulating such code within reusable components called aspects. However, current AOP implementations suffer from restrictive programming models leading to limited aspect reusability.

In this paper we present a new Java framework for middleware design and development based on Concurrent Event-based AOP. We focus on simplicity, generality and reusability. The programming model is based on Attribute-Oriented Programming. Aspects are declared and used by writing plain Java code and tagging it with plain Java annotations. The framework is small and can be easily extended to build more sophisticated frameworks targeting different kinds of devices. We describe the implementation of an initial prototype and evaluate its performance.

References

  1. Aspectwerkz. http://aspectwerkz.codehaus.org/.Google ScholarGoogle Scholar
  2. Jboss aop. http://www.jboss.org/jbossaop.Google ScholarGoogle Scholar
  3. Joyaop. http://joyaop.sourceforge.net/.Google ScholarGoogle Scholar
  4. Postsharp. http://www.postsharp.org/.Google ScholarGoogle Scholar
  5. Recoder. http://recoder.sourceforge.net/.Google ScholarGoogle Scholar
  6. Spring. http://www.springsource.org/.Google ScholarGoogle Scholar
  7. T. Cottenier, A. van den Berg, and T. Elrad. Stateful aspects: the case for aspect-oriented modeling. In AOM '07: Proceedings of the 10th international workshop on Aspect-oriented modeling, pages 7--14, New York, NY, USA, 2007. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. T. Dinkelaker, M. Mezini, and C. Bockisch. The art of the meta-aspect protocol. In AOSD '09: Proceedings of the 8th ACM international conference on Aspect-oriented software development, pages 51--62, New York, NY, USA, 2009. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. R. Douence, P. Fradet, and M. Südholt. Composition, reuse and interaction analysis of stateful aspects. In AOSD '04: Proceedings of the 3rd international conference on Aspect-oriented software development, pages 141--150, New York, NY, USA, 2004. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. R. Douence, D. Le Botlan, J. Noyé, and M. Südholt. Concurrent aspects. In GPCE '06: Proceedings of the 5th international conference on Generative programming and component engineering, pages 79--88, New York, NY, USA, 2006. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. R. Douence, D. Le Botlan, J. Noyé, and M. Südholt. Towards a model of concurrent aop. Int. WS on Software Engineering Properties of Languages and Aspect Technologies (SPLAT'06), March 2006.Google ScholarGoogle Scholar
  12. E. Gamma, R. Helm, R. Johnson, and J. Vlissides. Design patterns: elements of reusable object-oriented software. Addison-Wesley Professional, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. G. Kiczales, E. Hilsdale, J. Hugunin, M. Kersten, J. Palm, and W. Griswold. Getting started with aspectj. Commun. ACM, 44(10):59--65, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. S. Kojarski and D. H. Lorenz. Pluggable aop: designing aspect mechanisms for third-party composition. In OOPSLA '05: Proceedings of the 20th annual ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications, pages 247--263, New York, NY, USA, 2005. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. R. Mondejar, P. Garcia, C. Pairot, P. Urso, and P. Molli. Designing a distributed aop runtime composition model. In SAC '09: Proceedings of the 2009 ACM symposium on Applied Computing, pages 539--540, New York, NY, USA, 2009. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. L. D. B. Navarro, M. Südholt, W. Vanderperren, B. De Fraine, and D. Suvée. Explicitly distributed aop using awed. In AOSD '06: Proceedings of the 5th international conference on Aspect-oriented software development, pages 51--62, New York, NY, USA, 2006. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. R. Pawlak, L. Seinturier, L. Duchien, G. Florin, F. Legond-Aubry, and L. Martelli. Jac: an aspect-based distributed dynamic framework. Softw. Pract. Exper., 34(12):1119--1148, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. D. Suvée, W. Vanderperren, and V. Jonckers. Jasco: an aspect-oriented approach tailored for component based software development. In AOSD '03: Proceedings of the 2nd international conference on Aspect-oriented software development, pages 21--29, New York, NY, USA, 2003. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. An extensible framework for middleware design based on concurrent event-based AOP

                          Recommendations

                          Comments

                          Login options

                          Check if you have access through your login credentials or your institution to get full access on this article.

                          Sign in
                          • Published in

                            cover image ACM Other conferences
                            ARM '10: Proceedings of the 9th International Workshop on Adaptive and Reflective Middleware
                            November 2010
                            50 pages
                            ISBN:9781450304559
                            DOI:10.1145/1891701

                            Copyright © 2010 ACM

                            Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                            Publisher

                            Association for Computing Machinery

                            New York, NY, United States

                            Publication History

                            • Published: 30 November 2010

                            Permissions

                            Request permissions about this article.

                            Request Permissions

                            Check for updates

                            Qualifiers

                            • research-article

                            Acceptance Rates

                            Overall Acceptance Rate15of21submissions,71%
                          • Article Metrics

                            • Downloads (Last 12 months)0
                            • Downloads (Last 6 weeks)0

                            Other Metrics

                          PDF Format

                          View or Download as a PDF file.

                          PDF

                          eReader

                          View online with eReader.

                          eReader