ACM Home Page
Please provide us with feedback. Feedback
Implementing distribution and persistence aspects with aspectJ
Full text PdfPdf (406 KB)
Source Conference on Object Oriented Programming Systems Languages and Applications archive
Proceedings of the 17th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications table of contents
Seattle, Washington, USA
SESSION: Aspects table of contents
Pages: 174 - 190  
Year of Publication: 2002
ISBN:1-58113-471-1
Also published in ...
Authors
Sergio Soares  Federal University of Pernambuco, Recife, Pernambuco, Brazil
Eduardo Laureano  Federal University of Pernambuco, Recife, Pernambuco, Brazil
Paulo Borba  Federal University of Pernambuco, Recife, Pernambuco, Brazil
Sponsors
ACM: Association for Computing Machinery
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 16,   Downloads (12 Months): 128,   Citation Count: 49
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/582419.582437
What is a DOI?

ABSTRACT

This paper reports our experience using AspectJ, a general-purpose aspect-oriented extension to Java, to implement distribution and persistence aspects in a web-based information system. This system was originally implemented in Java and restructured with AspectJ. Our main contribution is to show that AspectJ is useful for implementing several persistence and distribution concerns in the application considered, and other similar applications. We have also identified a few drawbacks in the language and suggest some minor modifications that could significantly improve similar implementations. Despite the drawbacks, we argue that the AspectJ implementation is superior to the pure Java implementation. Some of the aspects implemented in our experiment are abstract and constitute a simple aspect framework. The other aspects are application specific but we suggest that different implementations might follow the same aspect pattern. The framework and the pattern allow us to propose architecture-specific guidelines that provide practical advice for both restructuring and implementing certain kinds of persistent and distributed applications with AspectJ.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
V. Alves and P. Borba. Distributed Adapters Pattern: A Design Pattern for Object-Oriented Distributed Applications. In First Latin American Conference on Pattern Languages of Programming --- SugarLoafPLoP, Rio de Janeiro, Brazil, October 2001. UERJ Magazine: Special Issue on Software Patterns.
 
2
 
3
 
4
M. d'Amorim, C. Nogueira, G. Santos, A. Souza, and P. Borba. Integrating Code Generation and Refactoring. In Workshop on Generative Programming, ECOOP'02, Malaga, Spain, June 2002. Springer Verlag.
 
5
6
 
7
R. E. Filman and D. P. Friedman. Aspect--Oriented Programming is Quantification and Obliviousness. In Workshop on Advanced Separation of Concerns, OOPSLA'00, 2000.
 
8
 
9
 
10
 
11
 
12
 
13
14
 
15
G. Kiczales, J. Lamping, A. Mendhekar, C. Maeda, C. V. Lopes, J.-M. Loingtier, and J. Irwin. Aspect--Oriented Programming. In European Conference on Object--Oriented Programming, ECOOP'97, LNCS 1241, pages 220--242, Finland, June 1997. Springer--Verlag.
 
16
 
17
T. Massoni, V. Alves, S. Soares, and P. Borba. PDC: Persistent Data Collections pattern. In First Latin American Conference on Pattern Languages of Programming --- SugarLoafPLoP, Rio de Janeiro, Brazil, October 2001. UERJ Magazine: Special Issue on Software Patterns.
 
18
S. Microsystems. Java Remote Method Invocation (RMI).
19
 
20
 
21
 
22
S. Soares and P. Borba. PaDA: A Pattern for Distribution Aspects. In Second Latin American Conference on Pattern Languages of Programming --- SugarLoafPLoP, Itaipava, Rio de Janeiro, Brazil, August 2002.
 
23
Sun Microsystems. The Enterprise JavaBeans Specification, October 2000.
 
24
M. Tatsubori. Separation of Distribution Concerns in Distributed Java Programming. In OOPSLA'01, Doctoral Symposium, Tampa FL, 2001.
 
25
A. Team. The AspectJ Programming Guide. At http://-aspectj.-org, 2002.
 
26

CITED BY  50

Collaborative Colleagues:
Sergio Soares: colleagues
Eduardo Laureano: colleagues
Paulo Borba: colleagues