PROG32758-P01- Winter2022 Assignment 3 Page 1 of 3 PROG32758 Enterprise Java Development Winter 2022 (January 17, 2022 – April 22, 2022) Section P XXXXXXXXXX) Class: Monday 6:00 pm – 9:00 pm (VC)...

1 answer below »

PROG32758-P01- Winter2022 Assignment 3 Page 1 of 3
PROG32758 Enterprise Java Development
Winter 2022 (January 17, 2022 – April 22, 2022)
Section P XXXXXXXXXX)
Class: Monday 6:00 pm – 9:00 pm (VC) Wednesday 6:00 pm – 9:00 pm (VC)
Assignment 3
-------------------------------------------------------------------------------------------------------------------------------
Issue Date: March 23, 2022 Weight: 6 % Max. Points: 100
Due Date: April 02, 2022, 11:55 pm
(Late submissions with 10% penalty each day till April 05, 2022, 11:55 pm)
------------------------------------------------------------------------------------------------------------------------------------------
Web-based Feedback Application
Respect Humanity is a non-profit organization. Its mission is to educate the communities on the value of
mutual respect for a strong healthy human society. It plans to get community feedback on the
understanding of various aspects of human respect and based on the feedback, develop programs to
achieve its mission.
Problem
Develop Java EE Web-based secure application that facilitates the creation and launch of a feedback
survey. Feedback surveys will be developed and launched by the volunteers of the organization. The
launched feedback surveys will be completed by the participating community members. The
management of the organization will develop summary reports and use the feedback data in its planning
process.
Requirements
1. Functional requirements
The application will be used by the users in three roles:
(i) user role “VOLUNTEER” to create and launch the feedback survey
(ii) user role “ADMIN” to display the feedback survey summary of responses
(iii) user role “PARTICIPANT” to take the feedback survey
Each feedback survey can have maximum five questions.
Questions and responses from the participants should be stored in a database
Summary reports should be developed from the responses stored in the database
2. Implementation requirements
The attempted solution should
1. Be architected using MVC design pattern as 5-tier client server architecture that includes
Solution to the assignment problem should be developed using the concepts and
technologies discussed in the class and used in the class examples.
Attempted solutions for the problem statement and requirements stated in the Assignment 3
handout will be graded. The submitted code which is a solution to some other problem and
not the solution to the problem stated in the Assignment 3 handout will be graded as zero.
No email submissions will be accepted.
PROG32758-P01- Winter2022 Assignment 3 Page 2 of 3
a. Model tier for business objects
. Controller tier to process the requests
c. View (webpages) tier to define the user interactions. Each webpage in the view should
have footer that shows at least the student number and name
d. Data access tier to store and retrieve the questions and responses
e. Security tier to implement the security policy.
2. Use https protocol for communication
3. Use login form to authenticate the user
4. Use in-memory Realm for user authorization
5. Use H2 in-memory database to store and retrieve the application data
6. Use Thymeleaf fragment to define footer for each webpage in the view.
7. Code the application using best coding practices
Security policy
a. Only the users with role “VOLUNTEER” can develop and launch a feedback survey.
. Only the users with role “PARTICIPANT” can take the survey
c. Only the users with role “ADMIN” can display the summary reports
Realm: Usernames, passwords, and roles
Username Password Roles
auser aaa ADMIN
user
VOLUNTEER
cuser ccc PARTICIPANT
duser ddd ADMIN, VOLINTEER
Survey Questions
Q1. In your understanding, what is human respect?
Q2. What is the difference between dignity and respect?
Q3. List one principle of human respect.
Q4. How do you show respect to your fellow community members?
Q5. Give one example of human disrespect.
Submission
1. Please create a new Spring Boot project. Name the project as LastNameFirstName-Assign3, like
ShafiqueMuhammad-Assign3.
2. Test each link and input field for co
ect performance and completeness of the application.
3. Submit two documents: Zipped Spring Boot project and a word document with the required
screenshots.
For the screenshots, create a new word document and name it as LastNameFirstName-Assign3-
Screenshots. Enter your name, student number, and the date in the beginning of the document.
Add the following screenshots to the document:
i. Run the application from Eclipse (i.e., Right click the project → Run As → Java Application OR
Right click the project → Run As → Spring Boot Application), take the console screenshot
showing the Spring Boot deployment of the application on Apache Tomcat. Use print screen
(prt sc) button to take the screenshot and then paste the screenshot in the word document.
Note: Please make sure that the screenshot shows the port# where the application is deployed.
ii. Open a
owser, type localhost:port# in the URL window of the
owser, and hit return. It
should show the first page of the application. Take a screenshot and paste to the word
document.
PROG32758-P01- Winter2022 Assignment 3 Page 3 of 3
iii. Take screenshot of each web page of the application and paste to the word document.
iv. Include the screenshot even if there is an e
or.
Note: Please make sure that
(i) The URL window in the screenshot shows the port# from where the application is
deployed and executed.
(ii) The screenshot should not be edited

4. Zip the project folder. Upload the .zip folder and the word document with screenshots to
Assignment 3 folder in the Assignments tab on SLATE.
5. Assignment 3 is due on Saturday April 02, 202211:55 pm. However late submissions will be
accepted till Tuesday April 05, 2022, 11:55 pm with 10% penalty for each day (including
weekend and holidays).
6. No email submissions will be accepted.

Assessment
Submitted work will be assessed for

Max.
points
Score Comments
1 Architecture 10
2
Survey creation and
launch
15

3 Summary reports 15
4 Take survey 15
5 Application security 25
6 Functionality 20
Total 100


Always stamp your work with excellence!
(Assignment 3 handout developed by Dr. Muhammad Shafique: Monday, March 21, 2022)
Answered 1 days AfterApr 04, 2022

Solution

Chirag answered on Apr 06 2022
11 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here