/Results_MVP-School

A simple java program to manage students school results

Primary LanguageJavaOtherNOASSERTION

Java

Results Manager (MVP Refactor)

A simple java program to manage students school results

Passing Java 1.8.0 BSD License


Table of Contents

Synopsis

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:

  1. Start the application and connect to the database. If a connection cannot be established, the application must exit.
  2. Close the database connection and stop the application
  3. Display all records
  4. Display the record for a specified student
  5. Display all records where the total mark is within a specified range
  6. Display the number of students who have received 0 for all assessment items (i.e. absent fails)
  7. Update the exam mark and total mark for a specified student.

Install

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

Usage

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

Screenshots

Screenshot

Screenshot

Screenshot

Screenshot

License

BSD Copyright (c) 2016 Josh Cannons.