Inderjit Singh Dhanoa, Er. Dalwinder Singh Salaria, H. S. Johal
{"title":"Comparative Analysis of Java and AspectJ on the Basis of Various Metrics","authors":"Inderjit Singh Dhanoa, Er. Dalwinder Singh Salaria, H. S. Johal","doi":"10.1109/ICIS.2011.50","DOIUrl":null,"url":null,"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.","PeriodicalId":256762,"journal":{"name":"2011 10th IEEE/ACIS International Conference on Computer and Information Science","volume":"24 4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-05-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2011 10th IEEE/ACIS International Conference on Computer and Information Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICIS.2011.50","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2
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.