180 likes | 310 Views
DAT602 Database Application Development. Lecture 17&18 B/S model database application. Database Application Development - Lecture 17&18. Here we still use E-Library as our example . We are going to use Netbeans as our IDE. Database Application Development - Lecture 17&18.
E N D
DAT602 Database Application Development Lecture 17&18 B/S model database application
Database Application Development - Lecture 17&18 Here we still use E-Library as our example. We are going to use Netbeans as our IDE.
Database Application Development - Lecture 17&18 Step 1: Add new project.
Database Application Development - Lecture 17&18 Step 1: add new project
Database Application Development - Lecture 17&18 Step 1: Add new project • Structure of new project Web Pages: pages for website Library: Java classes, jars Source packages: source code files
Database Application Development - Lecture 17&18 Step 2: import JDBC driver into this project
Database Application Development - Lecture 17&18 Step 3: Add login page. Login page is for capturing user’s input.
Database Application Development - Lecture 17&18 Step 3: Add login page.
Database Application Development - Lecture 17&18 Step 3: Add login page.
Database Application Development - Lecture 17&18 Step 4: Add page for doing check login. • Create a Java bean for providing JDBC connection.
Database Application Development - Lecture 17&18 Step 4: Add page for doing check login. • Use Java bean in JSP
Database Application Development - Lecture 17&18 Step 4: Add page for doing check login. • Check login business logic