CS.NET-a Framework for Implementing Component Service Using Aspect Oriented Programming

Author
FeiDaWei
Advisor
LiuDaYou
School
Jilin University
Major
Computer Applications
Classification
TP393 Computer network
Degree
Master's thesis
Year
2004
Downloads
183
Citations
0

Request the full text

Abstract

Within the current context of the world-wide globalisation of the IT industry, applications may run in open and distributed environments where the underlying structures may be nomad or hardly reliable. In these environments, several concerns such as instance pooling, load banlancing and fail-over have been well done by Middleware, but in some fields, such as intelligent application, it cannot deal efficiently. so we prepare to develop IEIA(Integrated Environment of Intelligent Applications)that devote to make developing intelligent application more easily by bring forward middleware,class library, tools. We noticed Aspect Oriented Software Development (AOSD), a new methodology that tries to enable the extension of the separation of concerns capabilities in software development. AOSD, which encompasses Aspect Oriented Programming (AOP), hopes to enable the developer or architect to capture crosscutting concerns in a modular fashion. Recently years, AOP has many applications such as patterns, security, and middleware ets.In this article, we bring forwoad CS.NET - a Framework for implementing Component Service using Aspect Oriented Programming in .NET platform, it is the core part in IEIA, we hope by using AOP technology, IEIA will become more easy, more flexible, more powerful in intelligent application development.We begin with an assessment of the .NET Framework and its encompassing tools and technologies. Next there is an overview of AOSD. Finally we examine the state of the art of the .NET Framework and look at the latest AOP technologies for both Java and .NET languages. We introduce more detailed about .NET AOP implemtations such as IL language, reflection, reflection emit, profiling API, reflection API and .NET remoting API.The objectives of the dissertation include the requirement, design, implementation and evaluation of CS.NET that bring component the runtime component service. In requirement chapter, we discuss the requirements of CS.NET including function requirements and non-function requirements and the reason of these requirements. The core function is CS.NET is a Weaver called CS.NET Weaver. In design Chapter, we introduce the CS.NET design strategy in detail and give the rationale of <WP=63>every design stategy given the requirement and then introduce the arichtecture of CS.NET Weaver and CS.NET. Next we discuss the implementation of CS.NET, including CS.NET class, sequence diagram.At the end of this chapter, we introduce some patterns of implements of AOP Weaver in .NET platform.The evaluation included a small case study comparing an example using CS.NET and not using CS.NET. Next we compare CS.NET Weaver with other AOP Weavers. Their are many evaluation points such as language used, expressive power, composition mechanisms, implementation mechanisms, ease of use etc. The evaluation also included the CS.NET advantage that be revealed how overcomed the disadvantage of Middlware mentioned in first chapter. We believe the case study can demonstrate the powful of CS.NET techniques.We hope we can give people more choices in .NET to implement component runtime service. Based CS.NET prototype, CS.NET will become flexible, ease of use, customized, extended, powerful AOP middleware container. As the core part of IEIA, CS.NET can give importantant supports about IEIA features.

Table of contents

Chapter 1 Introduction 7-10 1.1 Intelligent System Integration Environment Overview 7-8 1.2 existing container middleware analysis 8 1.3 8-10 Chapter II of the present work AOP Overview 10-21 2.1 issues raised 10-12 2.2 AOP appears 12-13 2.3 the AOP with traditional programming 13-14 2.4 AOP should solve the main problems 14 2.5 What is the AOP program design 14-15 2.6 AOP definition 15 2.7 the use of AOP development 15-16 2.8 's AOP implementation model 16-19 2.8.1 the AspectJ language Overview 16 2.8.2 of the AspectJ join point model 16-19 2.9 for further information 19-20 2.10 Summary 20-21 the third chapter of AOP. NET platform 21-34 3.1 Introduction 21 3.2 NET Framework 21 3.3 NETFrameworkArchitecture 21-23 3.3.1 common language runtime (CLR) 22 3.3.2 class libraries 22-23 3.3.3 language and development tools 23 3.4 NET Framework and AOP-related technology 23-28 3.4.1 data (MetaData ) 23 3.4.2 of IL language (ILLanguage) 23-24 3.4.3 assembly (Assembly) 24 3.4.4 NETCodeDom 24-26 3.4.5. NET reflection (reflection in) 26-27 3.4.6. NET run a constructed type (reflectionemit) 27-28 3.4.7 NETProfileAPI 28 3.4.8. NET Remoting 28-29 3.5 AOP implementations of different design strategies 29-33 3.5 .1 AOP implementations of the Java platform design strategy 29 3.5.2 NET platform AOP design strategy 29-33 3.6 Summary 33-34 < br /> Chapter CS.NET Analysis and Design 34-43 4.1 Introduction 34 4.2 CS.NET the needs 34-37 4.2.1 CS.NET functional requirements 34-35 the 4.2.2 CS.NET is non-functional requirements 35-36 4.2.3 Rationale (principle) 36-37 4.2.4 demand priority 37 4.2.5 needs Summary 37 4.3 CS.NET the design 37-41 the 4.3.1 AOPWeaver different design strategies 37-38 the 4.3.2 CS.NETAOPWeaver is design strategy 38-39 4.3.3 the CS The design architecture of NETWeaver 39 4.3.4 CS.NET the design architecture 39-41 the 4.5 CS.NET defined is the role 41-42 4.6 Summary 42-43 Chapter CS.NET 5 is to achieve 43-51 5.1 Introduction 43 5.2 CS.NETAOPWeaver the achieve 43-48 5.2.1 CodeEmit 44-45 5.2.2 ModelingParse 45-46 the 5.2.3 AspectService.; 46-48 5.3 CS.NET realization 48-50 5.3.1 AspectComponent is 48-49 5.3.2 ComponentServiceManager 49-50 5.3.3 CS.NETGUI 50 5.4 Summary 50-51 Chapter VI instance and evaluation 51-56 6.1 About 51 6.2 instance 51-52 preliminary assessment of the the 6.3 CS.NET prototype is the 52-54 6.4 CS.NET the lack of 54 6.5 further 54-56 References 56-59 thank 59-60 Abstract 60-62 ABSTRACT 62-63