政大機構典藏-National Chengchi University Institutional Repository(NCCUR):Item 140.119/95264
English  |  正體中文  |  简体中文  |  Post-Print筆數 : 27 |  全文笔数/总笔数 : 113869/144892 (79%)
造访人次 : 51887060      在线人数 : 532
RC Version 6.0 © Powered By DSPACE, MIT. Enhanced by NTU Library IR team.
搜寻范围 查询小技巧:
  • 您可在西文检索词汇前后加上"双引号",以获取较精准的检索结果
  • 若欲以作者姓名搜寻,建议至进阶搜寻限定作者字段,可获得较完整数据
  • 进阶搜寻
    政大機構典藏 > 資訊學院 > 資訊科學系 > 學位論文 >  Item 140.119/95264


    请使用永久网址来引用或连结此文件: https://nccur.lib.nccu.edu.tw/handle/140.119/95264


    题名: 應用剖面技術實作資料庫存取應用之偵錯工具
    Design and implementation of an aspect-based debugging tool for database applications
    作者: 張妏瑛
    Chang, Wen Ying
    贡献者: 陳恭
    Chen, Kung
    張妏瑛
    Chang, Wen Ying
    关键词: 應用程式偵錯
    JDBC
    AOP
    AspectJ
    日期: 2009
    上传时间: 2016-05-09 15:28:59 (UTC+8)
    摘要: 對於不同團隊協同開發大型的應用程式,常會面臨應用程式自行處理例外事件而未正確回報用戶之執行結果與無法得知封閉式類別庫內部詳細呼叫流程,導致偵錯不易的困擾。有鑒於此,本研究將實作一個工具,利用Aspect-Oriented Programming(AOP)特性,將AspectJ織入JDBC驅動程式並賦予存取紀錄儲存之功能,既可免除應用程式本身未針對資料庫儲存存取紀錄的問題,直接儲存所有存取紀錄,亦不影響資料庫操作,更可以分辦造成錯誤發生的程式以釐清問題,有效幫助偵錯。此工具適用於任何使用JDBC介面去存取資料庫管理系統(DBMS)之JAVA應用程式,它能在不影響應用程式的情況下客製化儲存應用程式透過JDBC驅動程式連結資料庫管理系統(DBMS)的存取紀錄,並利用存取紀錄進行分析並複製存取行為,以提供更豐富的資訊進一步協助偵錯。
    When using a large database application which is jointly designed by different teams, the administrators are often confronted with a problem that the application handles the exception spontaneously and often fails to report back the result of user’s execution. Therefore, the administrator can’t be informed of the details of the calling flow in case of exceptions. This will make it not only difficult to find which part of the application goes wrong, but also hard to fix. To resolve this problem, this thesis designs and implements an aspect-based debugging tool for such database applications. The key idea behind the tool is that, instead of adapting the large application for logging database access activities, we target at the JDBC driver and make JDBC driver capable of saving access log. This tool works for any JAVA applications that use JDBC interface to access database. Without any modification to the user-level application, this tool can save the access log obtained by application which use JDBC driver to connect the database, and the administrator can customize the access log. By analyzing the access records and duplicating the access behavior, this tool provides more information to further assist in application debugging.
    參考文獻: 【1】 林經緯、陳恭,「應用剖面導向技術研製網路應用程式之可設定式細緻化存取控管」,第15屆資訊安全會議
    【2】 周政宏,「從入門到進階Java程式建構思維第二版」,文魁資訊,2005
    【3】 侯捷,「Java的物件永續之道」,http://jjhou.csdn.net/javatwo-2003-serialization-doc.pdf,2003
    【4】 Torrenti-Roman A., Pascual-Miret L., Irun-Briz L., Beyer S. and Munoz-Escoi F. D. 2008. ASPY An Access-Logging Tool for JDBC Applications. ICSOFT.
    【5】 Ramnivas Laddad. AspectJ In Action- Practical Aspect-Oriented Programming. 2003
    【6】 超維度工作室,「Java專業認證SCJP考前黃金講座」, 博碩文化,2003
    【7】 Apache Services Logging Project - Apache log4j。
    http://logging.apache.org/log4j/
    【8】 Java API 1.5
    http://java.sun.com/j2se/1.5.0/docs/api/
    【9】 MySQL® Connector/J
    http://www.mysql.com/products/connector/j/
    【10】 Bloom R. 2006 .Debugging JDBC with a logging driver. Java Developer’s Journal.
    【11】 Kiczales G., Lamping J., Menhdhekar A., Maeda C., Lopes C., Loingtier J.-M., and Irwin J. 1997. Aspect-oriented programming. in ECOOP `97 Object-Oriented Programming 11th European Conference," Finland (M. Aksit and S. Matsuoka, eds.), vol. 1241, pp. 220-242, New York, NY: Springer-Verlag.
    【12】 NetBeans
    http://www.netbeans.org/
    描述: 碩士
    國立政治大學
    資訊科學學系
    95971019
    資料來源: http://thesis.lib.nccu.edu.tw/record/#G0095971019
    数据类型: thesis
    显示于类别:[資訊科學系] 學位論文

    文件中的档案:

    档案 大小格式浏览次数
    index.html0KbHTML2395检视/开启


    在政大典藏中所有的数据项都受到原著作权保护.


    社群 sharing

    著作權政策宣告 Copyright Announcement
    1.本網站之數位內容為國立政治大學所收錄之機構典藏,無償提供學術研究與公眾教育等公益性使用,惟仍請適度,合理使用本網站之內容,以尊重著作權人之權益。商業上之利用,則請先取得著作權人之授權。
    The digital content of this website is part of National Chengchi University Institutional Repository. It provides free access to academic research and public education for non-commercial use. Please utilize it in a proper and reasonable manner and respect the rights of copyright owners. For commercial use, please obtain authorization from the copyright owner in advance.

    2.本網站之製作,已盡力防止侵害著作權人之權益,如仍發現本網站之數位內容有侵害著作權人權益情事者,請權利人通知本網站維護人員(nccur@nccu.edu.tw),維護人員將立即採取移除該數位著作等補救措施。
    NCCU Institutional Repository is made to protect the interests of copyright owners. If you believe that any material on the website infringes copyright, please contact our staff(nccur@nccu.edu.tw). We will remove the work from the repository and investigate your claim.
    DSpace Software Copyright © 2002-2004  MIT &  Hewlett-Packard  /   Enhanced by   NTU Library IR team Copyright ©   - 回馈