Professional Documents
Culture Documents
Data Access Object: A. Objective
Data Access Object: A. Objective
Data Access Object: A. Objective
A. OBJECTIVE
Students master how JDBC work and the application of JDBC by DAO model.
B. BASIC THEORY
How java application that built can work by DBMS (Database Management System) use
JDBC (Java Database Connectivity) concept on java. The implementation of JDBC usage
in application will use DAO model that divide data accessing function from other
application (presentation and control function).
C. TOOLS
1. Computer.
2. NetBeans application
D. EXPERIMENT
WORK STEP
1. Create New Project named LatihanMateri3_NIM (example : LatihanMateri3_0123)
Package: pengambalian
g. Package: Laporan
4. Before do the work farther with DAO (in java application), prepare the database first.
5. Run the phpMyAdmin to create needed database:
perpustakaan_NIM (example : perpustakaan_0123)
8.
14. Third and fourth steps, create method to connect to the server and create statement object