Embedded JDBC interface - based database applications on a PDA
- Author
- LanYanTao
- Advisor
- LvYang
- School
- Kunming University of Science and Technology
- Major
- Computer System Architecture
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 28
- Citations
- 0
Abstract
With the prompt development of communication and computer technology, various embedded products especially consumer electronics hava held a large market share,and market demand for these products’software development has become more and more obvious. For meeting the project requirements,this paper mostly discuss the following issues from the standpoint of application:porting of JVM on WM; realization of SQLite’encryption and porting of SQLite on WM;realization of SQLiteJDBC on WM(this is the paper’s key components); test the result by case.If these problems are solved successfully, the embedded application of Java could be broaden, and a platform for software development of PDA could be bulid.The paper takes HP iPAQ HX2490c and Windows Mobile as embedded hardware and embedded operating system for researching platform.On the basis of deeply study of SQLite and JVM, implement a development environment using Java and SQLite successfully. Largely the paper discuss the realization of SQLiteJDBC.The paper’s innovation is using JDBC interface on WM.The main content of this paper is as follows. First,in view of existing problem the paper introduce JVM principle,and discuss the porting process mostly and the solution to these problems.Second,by the analyzing and comparision of Berkeley DB and SQLite database,the paper take SQLite as database,and deeply study of SQLite architecture and API interfaces,implement the SQLite encryption and successfully porting it to WM.Third,the pager mainly discuss the realization thought of SQLiteJDBC interface,and introduce JNI technology,and display the specific scheme design and basic step to realization.Last,the population information system as example,testing the result of experiment display that this system has high performance and steady operation,and reach the expected goal.
Table of contents
Abstract 3-4
Abstract 4-5
catalog 5-7
first chapter 7-11 <br / > 1.1 the purpose and significance of the topic to 1.2 research status of 7-8
8-9
1.3 Project Background 9
1.4 The study 9-10
1.5 paper tissue structures 10-11
based on the Windows Mobile platform Java virtual machine migration 11-24 <br / > 2.1 development platform and runtime environment 11-13
2.1.1 hardware platforms 11-12
2.1.2 software platform 12
2.1. runtime environment 3 12-13
2.2 Java Platform Overview the 13-16 2.2.1 Java virtual machine principle
14-16
2.2.2 core Java class libraries 16
on 2.3 embedded devices PDA Java platform design 16-19
2.3.1 Overview 16-17
2.3 .2 PDA Java platform design 17-19
2.3.2.1 Mysaifu, JVM 17-19
2.3.2.2, the GNU Classpath class library 19 <br / > on 2.4 embedded devices PDA Java platform 19-23
2.4.1 preparations 19-20
2.4.2 PDA on the Java platform to achieve process 20-23
2.4.2.1 Specific steps 20-22
2.4.2.2 install and test 22-23
2.5 Chapter Summary 23 SQLite database encryption features and -24
Chapter Windows Mobile platform the 24-39 3.1 SQLite database Overview
24-28
3.1.1 the embedded database selection 24
3.1.2 SQLite database architecture 24-27
3.1.3 SQLite database characteristics 27-28 <br / The overall design of the 3.2 SQLite database encryption module 28-31
the 3.2.1 database encryption level select 28-29
3.2.2 encryption granularity select 29
3.2.3 encryption algorithm selected 29-31
3.3 SQLite database encryption module specific implementation nbsp 31-38
3.3.1 Encryption specific process ; 31-33
the 3.3.2 cryptographic modules Encrypt.c achieve 33-36
3.3.3 the results of the test 36-38
3.4 Chapter Summary 38-39
Chapter Windows Mobile platform SQLiteJDBC interface design 39-56
4.1 to achieve the purpose and significance of SQLiteJDBC access interface 39 - 40
4.2 JDBC 40-42
4.2.1 JDBC architecture 40-42
4.2.2 JDBC works 42
4.3 Java native method interface JNI 42-45 numeric parameters
4.3.1 Java and native C data types between corresponding 43-44 <br / > 4.3.2 Java string parameter transfer between the local C 44-45
the under 4.4 Windows Mobile platform SQLiteJDBC driver design 45-46
4.5 Windows Mobile Platform implementation of the SQLiteJDBC driver 46-53
4.5.1 for Windows Mobile platform JDBC API interfaces and classes generate 46-49
4.5.2 SQLite database the JNI program 49-52
4.5.2.1 write the SWIG type of statement input file 49-51
4.5.2.2 generate JNI syntax of C files and Java wrapper 51-52
4.5.3 using VS2008 to generate the necessary local dynamic library file DLL to generate 52-53
4.5.4 Java implementation class compiler package compressed file 53
4.6 SQLiteJDBC interface test 53-55
4.7 Chapter Summary 55-56
Chapter Case verify 56-62 <br / > 5.1 Function Description 56
5.2 Summary of design the 56-58
5.2.1 Module divide the 56-57 module
5.2.2 Collaboration 57-58
5.3 Detailed design 58-61
5.3.1 database design 58-59
5.3.2 Data Management module nbsp the; 59 -61
5.4 Chapter Summary the 61-62
Chapter 6 Conclusion and Prospects the 62-64
6.1 summarizes 62-63
6.2 Further work 63-64
Acknowledgements to References 64-65
65-67
Appendix master's papers during 67
Related dissertations
- The Design and Implementation of Mobile Medical Management System
- The Design of Electricity Professional PDA Application
- Research of Monitoring System for Physiological Parameters Based on Windows Mobile
- Transmission and Distribution Spatial Information System Research Based on Mobile Intelligent Terminal
- Research and Development of Control System for Atomic Fluorescence Spectrometer Based on PDA
- Based the PDA mobile workflow terminal system design and Implementation
- PDA-based intelligent terminal information security firewall research
- Windows Mobile-based rail flatness testing of key technologies
- Research and design of the frog tester software system based on Windows Mobile
- Based on ARM-Linux embedded database and interface applied research
- In the implementation of PDA strategy of Library in China
- Remote Home Monitoring and Control System Based on ARM9
- The Research of Remote Monitoring System of the Domestic Partner Robot
- Research and Development Distributed Multi-tier Application System for the Water Conservancy Fields Based on J2EE Technology
- The Design and Implement of Supervise System in GAS Industry
- The Design and Implementation of the Android-Based Tobacco Terminal Management System
- S Power Company’s Shipping and Receiving Supplies PDA Application System Design and Implementation
- The Design and Implementation of Online Chat System Basedon JSP
- Design and Implementation of GAS Sales and Distribution Management System
- The Design and Implementation of PDA-based Patrol and Management System