Loading...
|
Please use this identifier to cite or link to this item:
https://nccur.lib.nccu.edu.tw/handle/140.119/95264
|
Title: | 應用剖面技術實作資料庫存取應用之偵錯工具 Design and implementation of an aspect-based debugging tool for database applications |
Authors: | 張妏瑛 Chang, Wen Ying |
Contributors: | 陳恭 Chen, Kung 張妏瑛 Chang, Wen Ying |
Keywords: | 應用程式偵錯 JDBC AOP AspectJ |
Date: | 2009 |
Issue Date: | 2016-05-09 15:28:59 (UTC+8) |
Abstract: | 對於不同團隊協同開發大型的應用程式,常會面臨應用程式自行處理例外事件而未正確回報用戶之執行結果與無法得知封閉式類別庫內部詳細呼叫流程,導致偵錯不易的困擾。有鑒於此,本研究將實作一個工具,利用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. |
Reference: | 【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/ |
Description: | 碩士 國立政治大學 資訊科學學系 95971019 |
Source URI: | http://thesis.lib.nccu.edu.tw/record/#G0095971019 |
Data Type: | thesis |
Appears in Collections: | [資訊科學系] 學位論文
|
Files in This Item:
File |
Size | Format | |
index.html | 0Kb | HTML2 | 404 | View/Open |
|
All items in 政大典藏 are protected by copyright, with all rights reserved.
|