Modularizing RESTful Web Service Management with Aspect Oriented Programming


Modularizing RESTful Web Service Management with Aspect Oriented Programming

 

Author		: WIDHIAN BRAMANTYA; BAYU MUNAJAT
Published on	: ICoICT 2015

 

Abstract

REST is one type of web services that uses standardized HTTP and runs on top of website-like protocol. In web application, functionalities spread in tiers or layers. Using Object Oriented Programming (OOP), functionalities supporting operations, e.g. authentication, caching, and logging, are not centralized, and spread over main codes. This is called crosscutting concerns. The impact of crosscutting concerns makes the software less reusable which will influence the flexibility and modifiability of the codes. It also makes the codes difficult to read and to understand. To handle this problem, there is a need to centralize the crosscutting concerns into an aspect using Aspect Oriented Programming (AOP). In this research, we identified, managed and analyzed the crosscutting concerns. We used PHP programming language. The measurement result with reusability metric on REST was proved that REST-AOP is more reusable than REST-OOP. Our contribution in this study is that we have solved crosscutting concerns in REST web service, especially in code level using AOP.

Leave a Reply

Your email address will not be published. Required fields are marked *