IMPLEMENTING THE DATA ACCESS OBJECT PATTERN USING ASPECTJ

André Luiz de Oliveira, André Luis Andrade Menolli, Ricardo Gonçalves Coelho

2008

Abstract

Due to the constant need of access and information storage, there is a constant concern for implementing those functionalities in large part of the currently developed applications. The most of those applications use the Data Access Object pattern to implement those functionalities, once that this pattern makes possible the separation of the data access code of the application code. However your implementation exposes the data access object to others application objects, causing situations in that a business object access the data access object. With the objective of solving this problem, this paper proposes an aspect oriented implementation of this pattern, followed by a quantitative evaluation of both, object oriented (OO) and aspect oriented (AO), implementations of this pattern. This study used strong software engineering attributes such as, separation of interests, coupling and cohesion, as evaluation criteria.

References

  1. Alencar, P. et al. A Query-Based Approach for Aspect Measurement and Analysis. TR CS-2004-13, School of Computer Science, Univ. of Waterloo, Canada, Feb 2004.
  2. Chidamber, S. & Kemerer, C., 1994, 'A Metrics Suite for OO Design'. IEEE Trans. on Soft. Eng., 20-6, 476- 493.
  3. Gamma, E., Helm, R., Johnson, R. & Vlissides, J., 1995. Design patterns: elements of reusable object-oriented software, Addison-Wesley Longman Publishing Co., Inc., Boston, MA.
  4. Garcia, A., Sant'Anna, C., Figueiredo, E., Kulesza, U., 2005, 'Modularizing Design Patterns with Aspects: A Quantitative Study', International Conference on Aspect-Oriented Software Development (AOSD'05), Chicago, USA. ACM Press. Pages 3-14.
  5. Garcia, A. et al., 2004, 'Separation of Concerns in MultiAgent Systems: An Empirical Study. In Software Engineering for Multi-Agent Systems', II, Springer, LNCS 2940.
  6. Garcia, A., Silva, V., Chavez, and C., Lucena, C., 2002, 'Engineering Multi-Agent Systems with Aspects and Patterns', J. of the Brazilian Computer Society, 1, 8 (July), 57-72.
  7. Hannemann, J. & Kiczales, G., 2002, 'Design Pattern Implementation in Java and AspectJ', Proc. OOPSLA'02, 161-173.
  8. Henderson-Sellers, B., 1996. Object-Oriented Metrics: Measures of Complexity, Prentice Hall.
  9. Jacabson, Ivar and Ng, Pan-Wei, 2004. Aspect Oriented Software Development with Use Cases. AddisonWesley.
  10. Massoni, T.; Alves, V. and Soares, S., 2001, 'PDC: Persistent Data Collections pattern', First Latin American Conference on Pattern Languages of Programming, Rio de Janeiro, Brazil.
  11. Nock, Clifton, 2003, 'Data Access Patterns: Database Interactions in Object-Oriented Applications', Addison-Wesley.
  12. Sant'Anna, C. et al. On the Reuse and Maintenance of Aspect-Oriented Software: An Assessment Framework. Proc. of Brazilian Symposium on Software Engineering (SBES'03), Manaus, Brazil, 19- 34.
  13. Soares, S., 2004, 'An Aspect-Oriented Implementation Method', Doctoral Thesis, Federal Univ. of Pernambuco.
  14. Soares, S. et. al., 2002, 'Implementing distribution and persistence aspects with AspectJ', ACM. In Proceedings of the OOPSLA' 2002, pp. 174-190, Seattle, USA.
  15. Sun Microsystems 2002, 'Core J2EE Patterns: Data Access Object', viewed 01 November 2007, http://java.sun.com/blueprints/corej2eepatterns/Pattern s/DataAccessObject.html.
Download


Paper Citation


in Harvard Style

Luiz de Oliveira A., Luis Andrade Menolli A. and Gonçalves Coelho R. (2008). IMPLEMENTING THE DATA ACCESS OBJECT PATTERN USING ASPECTJ . In Proceedings of the Tenth International Conference on Enterprise Information Systems - Volume 1: ICEIS, ISBN 978-989-8111-36-4, pages 523-530. DOI: 10.5220/0001714805230530


in Bibtex Style

@conference{iceis08,
author={André Luiz de Oliveira and André Luis Andrade Menolli and Ricardo Gonçalves Coelho},
title={IMPLEMENTING THE DATA ACCESS OBJECT PATTERN USING ASPECTJ},
booktitle={Proceedings of the Tenth International Conference on Enterprise Information Systems - Volume 1: ICEIS,},
year={2008},
pages={523-530},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0001714805230530},
isbn={978-989-8111-36-4},
}


in EndNote Style

TY - CONF
JO - Proceedings of the Tenth International Conference on Enterprise Information Systems - Volume 1: ICEIS,
TI - IMPLEMENTING THE DATA ACCESS OBJECT PATTERN USING ASPECTJ
SN - 978-989-8111-36-4
AU - Luiz de Oliveira A.
AU - Luis Andrade Menolli A.
AU - Gonçalves Coelho R.
PY - 2008
SP - 523
EP - 530
DO - 10.5220/0001714805230530