Abstract:
This paper compares aspect oriented approach using AspectJ with object oriented approach using Java programming in distributed environment and discusses the need to intro...Show MoreMetadata
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.
Date of Conference: 16-18 May 2011
Date Added to IEEE Xplore: 28 November 2011
Print ISBN:978-1-4577-0141-2