Based declarative transaction metadata framework design and Implementation

Author
GaoShan
Advisor
ZhuZuoLiang , LinJian
School
Zhejiang University
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2006
Downloads
26
Citations
1

Request the full text

Abstract

Aspect-oriented programming is emphasized on that crosscutting-concems in the software system is separated from core business and implemented as modular form separately.This kind of thought is very accepted quickly by the major developer,meanwhile the related technology and applications have also been obtained the rapid development.Some enterprise projects which have too many transaction operations about data accessing also concerned how to separate transaction logic as the form of declaration. And this is the main concern of this paper.Firstly this paper introduces transaction cocept,isolation level and type division,elaborates programming transaction and declarative transaction in EJB,and carries on the analyses to their merits and flaws. Secondly the introductions are given on the cause of AOP thought proposed,the content and the way of realization,and analyses specifically the technology related on declarative transaction;then based on the AOP thought, utilized related technology ,combined with concrete characteristics of transaction operations, the frame on declarative transaction is designed.Finally, according to the design the frame is implemented.The frame designed in this paper can separate transaction logic from the core business by declaring transaction attribute in the form of metadata.For those systems which will have much transaction operations, it can improve the efficiency of development dramatically, and enhance the reusage of code .

Table of contents

Directory 2-5 Summary 5-6 ABSTRACT 6-7 The first chapter 7-10 <br / > 1.1 Background of the research the 7-8 1.2 Research significance 8 1.3 declarative transaction status of 8-9 1.4 this article organizational structure 9-10 J2EE transaction 10-19 2.1 transaction basics 10-13 2.1.1 Affairs concept 10 2.1.2 transaction isolation level the 10-11 2.1.3 plane Affairs nested things 11-12 2.1. the 4 local affairs Distributed Transaction 12-13 2.2 programmed the transaction --- BMT 13-16 2.2.1 Java Transaction API (JTA) 14-15 2.2.2 JDBC transaction 15-16 2.2.3 advantages and disadvantages 16 2.3 declarative transaction --- CMT 16 -19 2.3.1 deployment descriptor 16-17 the 2.3.2 an EJB in declarative transaction Properties 17 2.3.3 advantages and disadvantages nbsp Chapter declarative transaction framework technology; 17-19 19-27 3.1 Overview of aspect-oriented programming 19-22 3.1.1 surface be defects to object programming OOP 19-20 3.1.2 Aspect-Oriented Programming AOP thought 20-21 3.1.3 AOP two weaving 21-22 3.2 metadata the 22-24 3.2.1 XML to represent metadata 22-23 3.2.2 J2SE5.0 Annotation said element data the interception mechanism 23-24 3.3 agent 24-25 3.3.1 Dynamic Agent 24 3.3.2 CGLIB, 24 -25 3.4 IOC / DI dependency injection technology the 25-27 3.4.1 Dependency Injection defined nbsp several forms 25 3.4.2 Dependency Injection ; 25-27 Chapter framework design 27-39 4.1 overall design 27-29 4.1.1 Design goals 27 4.1.2 System Analysis the 27-28 overall structure 4.1.3 28-29 the 4.2 core business package 29-31 < br /> 4.2.1 DAO mode 29-30 4.2.2 DAO mode 30-31 4.3 metadata statement 31-32 < br /> 4.4 Manager design the 32-34 4.4.1 parse XML for metadata 32-33 4.4.2 injecting dependencies and returns a proxy 33-34 4.5 Affairs ASPECT package 34-35 4.6 interceptor chain structure 35-36 4.7 connection consistency 36 - 39 4.7.1 ThreadLocal 36-37 4.7.2 ThreadLocal use 37-39 Chapter framework to achieve 39-49 5.1 core business package implementation 39-41 5.2 metadata definition declared the 41-42 5.3 Manager. achieve 42 - 44 5.4 Affairs ASPECT the 44-45 5.5 interceptor chain implementations the connection 45-47 5.6 consistency 47-49 Chapter Summary and Outlook 49-51 6.1 This work summarizes 49 6.2 further work outlook 49-51 References 51-53 Master of papers published during the reading 53-54 Acknowledgements 54

Related dissertations

  1. Buyout Fund’s Role in Chinese Merge and Acquisition Transactions
    LiuYiTao ·Shanghai Jiaotong University ·2013 ·Master's thesis
  2. Research of Tourism E-commerce Metadata Model of SaaS
    AnChengJun ·Shandong Normal University ·2013 ·Master's thesis
  3. Research on Anhui Private Economy Developmen Environment from the Perspective of Transaction Costs
    LuoYaDong ·Anhui University of Finance ·2014 ·Master's thesis
  4. Private Stone Gambling with Agents’ Heterogeneous Risk Preferences
  5. Design and Realization of Daqing Oilfield Downhole Data Collection
  6. Research and Design on Key Technologies of the Mobile Internet Service Resource Management
  7. Describe on Metadata of the Value of Archival Web Information
    XiangLiHua ·Xiangtan University ·2013 ·Master's thesis
  8. Design and Implementation of Music Database System
  9. Research on the Metadata Management of Multi Namenodes Based on HDFS
  10. Replica Consistency Management Stratege of Metadata Cluster for Key-value Stores
  11. Coal Trading Information System Design and Implementation
  12. Design and Realization of Meteorological Data Sharing System Based on Metadata
  13. Design and Implementation of the Taxation Multiplex Declaration System
    ZhouZhaoLiang ·Xiamen University ·2013 ·Master's thesis
  14. The Design and Implementation of Distributed File System in Crowd Intelligence Sensation Environment
  15. Design and Implementation of Unstructured Multimedia Resource Sharing System Based on Metadata
    ZhangFeiYu ·Nanchang University ·2013 ·Master's thesis
  16. The Research and Application of Information Resource Integration Technology Base on UNIRMS.Net Platform
    DengWen ·Nanchang University ·2013 ·Master's thesis
  17. An Information Service Platform for Professional-town Based on Content Management
  18. Design and Implementation of a File System Called Trinityfs for a Hybrid Storage Device
  19. The definition of the crime of forced transaction
    ZhangRong ·Nanjing Normal University ·2013 ·Master's thesis
  20. Analysis of rural land right of management circulation problems and Legal Countermeasures
    ChenXiaoXia ·Sichuan Academy of Social Sciences ·2013 ·Master's thesis