Skip to content

Enterprise programming exam from 2019 where i had to make a system with jsf UI in 48 hours

Notifications You must be signed in to change notification settings

alexander474/Enterprise_programming_exam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enterprise Programming Exam

PG5100 2019

Build Status

All requirements have been completed and some extra functionality has been added. When I used inspiration or copied code, I specified the source in the current file or above the methods. All the pom.xml files that were created with inspiration from the Course Repository

Exam text

Run Application

Run "LocalApplicationRunner" and it will run on localhost:8080

Run Tests

> mvn clean install

If the dependencies have been downloaded then you can just run:

> mvn verify

Different choices i made in the exam

The exam states that the ratings are some kind of "stars", but I chose not to display visual stars as that would just be design work but rather use the data type Integer/int to represent stars where the valid values would be from 1-5 as stated in the exam. When the average is displaying the value i'm using Double with no limit on the decimals because this is not stated in the exam.

I got the movie information from imdb.com Top 250. I just picked some of the first items displayed to populate my items as the default information.

Extras

Administrator

I have added an administrator option to the user. The administrator has access to enable/disable user accounts and create new items. This is the tests for the administrator extra:

public void testDisableAndEnableUser()
public void testCreateItem()

Sorting and filtering categories

I added sorting on the average, as extra i added the sorting to work on the data type Double and down to 0.01. I also added the the filtering to work with categories and as extra the filtering also works with new created items that have a completely new category. These extras is tested by:

public void testItemSorting()
public void testFilterItems()

Coverage

Frontend: 91%

Backend: 97%

Total: 95%

About

Enterprise programming exam from 2019 where i had to make a system with jsf UI in 48 hours

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published