Reexploration and Encapsulation of Crosscutting Concerns
- Author
- WangYang
- Advisor
- ZhangJiaChen
- School
- Jilin University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 87
- Citations
- 1
Abstract
although OOP is good at modularizing core concerns, it falls short when it comes to modularizing the system-level requirements, such as log, security ,memory management and exception handling ,often referred to as crosscutting concerns.They often crosscut core logic of software system which causes code tangling and code scattering.Consequently it is hard to maintain and understand software system.Modularizing can reduce the complexities of software. Aspect-Oriented Programming(AOP) localize implementation of crosscutting concern by encapsulating them in an independent module called “aspect”.AOP is just to encapsulate crosscutting concerns not to identify them from legacy system.In recent years how to identify the potential crosscutting concerns from legacy system becomes the hotspot people study. Nowadays many identification technologies of crosscutting concerns exist. These analysis technologies are based on character, type, signature, dynamic, respectively. Every technology identify crosscutting concerns according as some special behavior characteristic of system. But all of methods can’t work precisely so some methods are usually combined to use. Crosscutting concerns scattering in the system take on analogous behaviors due to similar or same codes. In our approach we search crosscutting concerns according this characteristic. During analyzing source code of system, we assume <WP=49>program statements only have one kind of function call, and create function call tree that we define. All function call combinations repeatedly appearing are searched based on function call tree. There are three way to combine function call:Sequential,Conditional,Repeated.Identified crosscutting concerns are in the level of function call in our approach. Other kinds of crosscutting concerns also exist in source code. We analyze several kinds of typical system-level crosscutting concerns that can’t be identified applying our approach, and provide specified identification methods. Compared with other concern identification technology,our solution shows its advantage in some point.Aspect Ming Tool(AMT) developed by Hannemann and Kiczales demands users offer a key word for querying and then do the text match which depends on the coding style of the source code.AMT can find out the code related to the concern responding to the querying key word,while our tool needs no user’s input and can identify more concerns.AMT gives a graphic interacting way,which our tool can not.Now we only record the result to a file.It’s not convenient for users. S. Breu and J. Krinke adopt the dynamic program analysis technology.Our solution is a little similar with theirs:both are concerned with the relation between the function and neither takes other type of statements into account.They are concerned with the relation between the function in runtime and define four types of relation.Their solution is to find out all the presence of the execution of the two function which have certain relation;Our solution is concerned with combining way of two function in source code and we define three combining way.We find all the presence of a certain function combination by statically analyzing <WP=50>source code.Finally, in order to validate the feasibility of our approach, we design and implement a tool identifying crosscutting concern. This tool can analyze integrated java legacy system.
Table of contents
Chapter Introduction 6-10
1.1 Background Introduction 6
1.2 Research 6-9
1.3 of this article 9 -10
identification of crosscutting concerns 10-26
2.1 starting points 10-11
2.1.1 This article assumes that 10
2.1.2 combinations of atoms 10-11
2.2 function calls in Figure 11-13
2.2.1 node is defined 11-12 < br /> 2.2.2 function call graph defined: 12-13
2.3 function call tree 13-18
2.3.1 to the function call tree from the function call graph transformation 13-15
2.3.2 function call tree construction algorithm 15-18
2.4 based on the function call tree crosscutting concerns identification 18-23 < br /> 18
2.4.2 2.4.1 node the same definition of the way to find the basic principle: 18-19
2.4.3 Find algorithm 19-21
2.4.4 node's position description 21-23
2.5 crosscutting function call package 23-26
several specific crosscutting concerns identification 26-38
3.1 exception handling 26-31
3.1.1 Extraction Method 26-27
3.1.2 encapsulation method 27-31
3.2 parameter flow holes type downward infiltration (the arguments trickle by wormhole) 31-36
3.2.1 concept 31-32 < br /> 32
3.2.3 3.2.2 extraction encapsulation method 32-36
3.3 interface to achieve 36-37
3.4 The method of covering and workers object to create 37-38
3.4.1 cover 37
3.4.2 workers object 37-38
experimental tool Design and 38-42 the
4.1 CCIET is an overview of 38-39
4.2 each module analysis 39-42
4.2.1 program resolve 39
4.2.2 reverse engineering module 39-40
4.2.3 method calls the extraction module 40-41
4.2.4 package module 41-42
Conclusion to Chapter 42-43
reference 43-45
thank 45-46 <br / > English Abstract 46-48
ABSTRACT 48-50
Related dissertations
- AOP technology - based research and design of the monitoring configuration software
- Research on Fault-Tolerance Mechanism of Service Composition in Pervasive Environment
- Research on Access Control Model Based on EGR-RBAC and Spring Security Framework
- The Supermarket Information Management System Design and Implementation
- The Design of System Framework Based on Business and Data Driving
- Research on Running Monitoring System of Saas Platform for Automobile Industry Chain Collaboration
- Analysis and Research of Security of Campus Network Server
- Design and Implementation of Web Servers’ Performance Tracking Framework
- Research on Some Key Technology of Data Mining in E-commerce
- Research and implementation of the law enforcement system of land resource based on AOP
- Design and implementation of medical insurance management information system based on Spring Framework
- Modeling and Verification of Cyber Physical Systems Based on Formal Method
- The Design and Implementation of Financial System Based on the AOP Design Pattern
- A Publish/Subscribe Model for Service Dynamic Update in OSGi
- Research on Aspect-oriented Software Modeling and Application in Software Development
- AOP-based Detection of Runtime Business Constraints
- Design and Implementation of Performance Monitoring Based on AOP
- Design and Implementation of Liaohe Oilfield Material Management System Based on Lightweight Web
- Research and Application on Billing Management System for Collaborative Commerce Platform of Automobile Industry Chain
- Research on the Reconifgurability of Manufactuirng Execution System Based on J2EE