0% found this document useful (0 votes)
8 views2 pages

PRJ301 Workshop

The document outlines the requirements for a web application project focused on managing ATM cards in a bank using MS SQL Server and Java MVC framework. It specifies the creation of a database with three tables (Users, Tasks, and TaskAssignments), along with their respective fields and relationships, as well as login and task completion functionalities. Additionally, it details the technical requirements for the web application, including the use of Java Beans, JSTL, and EL, while emphasizing adherence to the specified requirements for grading purposes.

Uploaded by

tuyqnam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views2 pages

PRJ301 Workshop

The document outlines the requirements for a web application project focused on managing ATM cards in a bank using MS SQL Server and Java MVC framework. It specifies the creation of a database with three tables (Users, Tasks, and TaskAssignments), along with their respective fields and relationships, as well as login and task completion functionalities. Additionally, it details the technical requirements for the web application, including the use of Java Beans, JSTL, and EL, while emphasizing adherence to the specified requirements for grading purposes.

Uploaded by

tuyqnam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

PRJ301- Workshop 2

Duration: 75 minutes

Develop web application with following components and requirements

1. Create database name Task_YourID (2 marks) on MS SQL Server, has a table with at
least 2 rows sample data. Student must write SQL script to create database for
submission.
This database is aim to manage ATM cards in a bank using SQL, you can create three
tables: User, Tasks and TaskAssigment:

Users Table:
The Users table will store information about the users who manage and complete tasks.
 user_id: A unique identifier for each user.
 username: The username of the user.
 email: The email address of the user.
 password: The hashed password for the user's login.
 registration_date: The date when the user registered.

Tasks Table:
The Tasks table will store information about the tasks to be managed.
 task_id: A unique identifier for each task.
 title: The title of the task.
 description: A description of the task.
 created_date: The date when the task was created.
 due_date: The date by which the task should be completed.
 status: The status of the task (e.g., pending, in progress, completed).
TaskAssignments Table:
The TaskAssignments table will store information about which users are assigned to
which tasks.
 assignment_id: A unique identifier for each task assignment.
 task_id: The ID of the assigned task, referencing the task_id column in the Tasks
table.
 user_id: The ID of the assigned user, referencing the user_id column in the Users
table.
 assigned_date: The date when the task was assigned to the user.
 complete_date: The date when the task was completed
Relationships:
 The user_id column in the TaskAssignments table will reference the user_id
column in the Users table.
 The task_id column in the TaskAssignments table will reference the task_id
column in the Tasks table.
Login Requirements:
 A user must successfully log in using their email and password to manage and
complete tasks.
 Non-users or failed login attempts should not be able to access the task
management system, only signup
Completing a Task:
 When a user completes a task, the complete_date in the TaskAssignments table
should be updated.
 The task’s status in the Tasks table should be updated to 'completed'.

2. Create MVC web application in NetBeans:


a. Login successfully (1 mark)
b. Define Java Bean class link to data in table, add following function: (3 marks)
+ method doCompleteTask()
+ method registerUser() is used to register a new user
c. Display 2 methods above with jsp page (3 marks)
d. A Beautifully designed website (1 mark)
3. Technical requirements:
+ Apply all technic: Using bean, JSTL, EL in authoring JSP page with almost no scriptlet.
+ Users access web functions through the controller only – no direct access to .jsp pageS

Notice: Student must strictly follow all requirements as describe above for marking,
Any modification the requirement detail is not allowed and will get no mark!

You might also like