The problem put forward was to design a program to assist a course coordinator in the management of student results. A Java desktop application is to be developed, driven by a simple Swing GUI. Interaction between the database and the application is to be via JDBC. The NetBeans IDE is to be used for development. The program is to be implemented in Java using a model/view/presenter (MVP) architecture using Derby as the database connector.
The initial user requirements are:
- Start the application and connect to the database. If a connection cannot be established, the application must exit.
- Close the database connection and stop the application
- Display all records
- Display the record for a specified student
- Display all records where the total mark is within a specified range
- Display the number of students who have received 0 for all assessment items (i.e. absent fails)
- Update the exam mark and total mark for a specified student.
First, make a directory to install the files to and change to that directory using :
mkdir results_mvp && cd results_mvp
Then all you need to do is clone the project from github into the directory by using :
git clone https://github.com/josh-privata/Results_MVP.git
Note: Java Runtime is required to run the preceding commands.
Initially the program needs to be compiled. After you have copied the *.java files to a directory, run the command :
$ javac view/*.java
$ javac model/*.java
$ javac presenter/*.java
$ javac results/*.java
Then change directory to the main java class and run the program using the commands :
$ cd results
$ java Results
BSD Copyright (c) 2016 Josh Cannons.