Comparative Analysis of Java and AspectJ on the Basis of Various Metrics

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.
基于各种度量的Java和AspectJ的比较分析
本文比较了在分布式环境下使用AspectJ的面向方面方法和使用Java编程的面向对象方法,并讨论了在Java RMI系统中引入方面的必要性。这两种方法根据各种指标在Eclipse框架中使用RMI拍卖系统进行了经验比较。我们在Eclipse框架下独立使用AspectJ和Java语言开发了RMI拍卖系统。Java RMI系统中有一些特性,如跟踪、异常处理、分布和分析,我们不能使用面向对象编程来正确封装,从而导致代码缠结和代码分散的问题。因此,很难将它们模块化为单独的功能模块。这些属性被称为横切关注点,可以使用面向方面编程将其封装到Aspect中。其中,使用AspectJ语言将RMI拍卖系统的分布式横切关注点封装在Eclipse支持的框架中。我们已经通过Eclipse平台的Aspect可视化器和Metrics 1.3.6插件中的RMI拍卖系统展示了AspectJ和Java的比较。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信