CST8288 Lab #2 - Java Servlets and DAO PatternJava

Java Python CST8288

Lab #2 - Java Servlets and DAO Pattern

Objectives

Demonstrate the Data Access Object (DAO) pattern  by creating a java servlet which reads the IndyWinners database and displays a list of Indy Winners to the remote user. The application must support multiple concurrent users ensuring the Java servlet is “thread safe”. You must create and use a DAO design pattern for building/creating IndyWinner objects (which are then used to provide the data for display  purposes to the remote user.) Make sure you apply SOLID with regards to each classes/interface you create for the application.

Tasks:

1.  Use the provided SQL scripts to create your database using MySQL and the MySQL Workbench (CTLDIndyWinners.sql, in the provided ZIP file).

2.  Create the Java Servlet which will be invoked by a HTML page with a servlet request to the

servlet engine (server, Tomcat).   Provided ZIP file is a complete Netbeans pro CST8288 Lab #2 - Java Servlets and DAO PatternJava ject for a working “simplified” example.   Note this environment uses a web browser, servlet engine (Tomcat server), and the MySQL database server, MySQL workbench tool helps. (Your lab Prof should review the provided sample)

3.  The servlet must build IndyWinner objects which must incorporate a DAO design pattern for accessing the database with the Indy Winners state.

4.  The servlet must be thread safe (support multiple concurrent users).

5.  The display to the client (remote user, web browser) must show a maximum of 10 winners per

screen/page with a “continue” button on the bottom (effectively scroll thru the list of winners 10 at a time).

6.  You must create a UML class diagram for your application (meet SOLID principles and incorporate a DAO design pattern, minimum).

Lab Deliverables

1.  Submit a zip file of all your Netbeans project (source code, web page etc.) and your java “doc” folder with complete generated Java documentation and GitHub repo link on the BrightSpace

2.  Submit your UML diagram as an image file.

Assessment Criteria:

       1. The deliverable is worth 7.5% of your final grade         

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值