DocumentCode
2416217
Title
Comparative Analysis of Java and AspectJ on the Basis of Various Metrics
Author
Dhanoa, Inderjit Singh ; Salaria, Er. Dalwinder Singh ; Johal, H. S.
fYear
2011
fDate
16-18 May 2011
Firstpage
270
Lastpage
275
Abstract
This paper compares aspect oriented approach using AspectJ with object oriented approach using Java programming in distributed environment and discusses the need to introduce aspects in Java RMI systems. These two approaches compared empirically using RMI auction System in Eclipse´s framework in terms of various metrics. We developed RMI Auction System with AspectJ and Java languages in Eclipse´s framework independently. There are certain properties like tracing, exception handling, distribution and profiling in Java RMI system which we cannot encapsulate properly using object oriented programming and lead to the problem of code tangling and code scattering. Therefore it is difficult to modularize them in separate functional modules. These properties are known as cross cutting concerns, which can be encapsulated into Aspect using Aspect Oriented Programming. In this, AspectJ language is used to encapsulate distributed cross cutting concern of RMI auction system in Eclipse supported framework. We have shown the comparison of AspectJ and Java through a RMI auction system in Eclipse Platform´s Aspect visualizer and Metrics 1.3.6 plug-in.
Keywords
Couplings; Java; Measurement; Object oriented programming; Servers; Visualization; Crosscutting Concerns; Eclipse; Java RMI; UMRT;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer and Information Science (ICIS), 2011 IEEE/ACIS 10th International Conference on
Conference_Location
Sanya, China
Print_ISBN
978-1-4577-0141-2
Type
conf
DOI
10.1109/ICIS.2011.50
Filename
6086482
Link To Document