0% found this document useful (0 votes)
6 views

MidTerm JavaEE

Uploaded by

huo1010john
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

MidTerm JavaEE

Uploaded by

huo1010john
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Midterm Exam

Instructions and Rules


This assessment should be completed by every student individually.
Description – Web+ Spring MVC Boot + MySQL with JPA.
Husky Air wants to develop online web application for their reservation/itinerary. They
have approached you to develop suitable web app to cater their requirements.
Presently they have console-based application but would like to migrate to web based
application.
You are developing an SPRING MVC web app for the Husky Air business by creating
the following programs: controller java file, Model java file, html Thyme leaf view files,
and maven POM.xml. prop files.
Instructions:
Create a New Project -> Spring Starter Project with appropriate dependencies required.
Name the project as: MidTerm_YourFullName_StudentId
Group: com.yourinitialsofurname.midterm [for example com.va.midterm]
Artifact: MidTerm_YourFullName_StudentId
Description: Spring Boot App to implement JPA
Package: com.yourinitialsofurname.spring.jpa

Web page should have the login functionality for username and password to validate.
(Insert your own dummy data to schema or let JPA do for you)
After login validation should allow the user to book the reservation filling up the
necessary details – firstName, lastName, NoofPassengers, ClassofTravel- Economy or
Business, phoneNo, dateofDeparture
(You can more attributes as you like)
The reservation page should allow the user to perform the booking i.e. allow to insert
the data using Jpa to database for the given attributes.
Reservation page should allow to go back to index page.
Show-reservation page should show the current booking done showing the name,
dateofdeparture, class etc using JPA.
Database/ MYSQL– Create a schema named as MidTerm_yourFullName.
Design appropriate tables that handle DBMS operations on the backend
Login Table – username to be varchar or int type and password should be varchar type.
Reservation Table- to have appropriate fields that map the user requirements given in
the image.

1. Your app must include at least the following code files:


o Controller file – java files
o Model file – java files
o View file – show-reservation.html
o index.html should have reference to reservation and login page
o reservation.html
o login.html page
o Maven file – pom.xml
2. The assignment source code (Eclipse project with the necessary files) submitted
as a .zip file format – “YourName_StudentNo_Assign1.zip”.
3. Submit 2 mins video demonstrating the code and run on the browser. ( show the
code and output as shown in the browser).
[to earn full credit  Reset your Perspective as Java EE Full screen must be shared
in video/screenshot and Video is Mandatory to submit. Do not hide folders/project
structure and audio is not required in video recording. Video must show your complete
code, followed the results/output]
Only use technologies/framework as taught in the course.
Assessment Rubrics

View and UI Design: Task 1


15%
Defining a MySQL database, a table, and the configuration of the
application.properties file.

Defining an entity class to implement all the properties with appropriate


20%
data types and validations annotations.

Defining a controller class to implement CRUD functionalities like add,


20%
show all, and exists a row

Defining Repository or Service class to implement CRUD Repository


10%
methods.
Designing view Thymeleaf to provide user-friendly forms and output
pages with appropriate messages like validations and user-friendly 30%
messages.

Submission of screenshots showing the project results and Video 5%

Total 100%

Submission Rules
Total of 3 files are individually to be submitted.
1. Zip file of the source code
2. 2-3 mins of zoom/team or equivalent video showing the complete code, project
structure, output. [no URLs permitted]
3. 2-3 full screenshots in word file
Academic Honesty (Plagiarism and Cheating)
All students must follow the academic honesty policies regarding Plagiarism and
cheating on assignments, Quizzes or Tests. Centennial college's Academic Policy will
be strictly enforced. To support academic honesty at Centennial College, all academic
work submitted by students may be reviewed for authenticity and originality, by utilizing
software tools.
For more details, please visit the Academic Honesty site on
https://www.centennialcollege.ca/mycentennial/your-support/academic-support/student-
academic-advising/academic-honesty/

You might also like