Skip to content

Files

Latest commit

3e479ac · Jan 19, 2021

History

History

lib

Please download and install the following libraries into this folder.

https://repo1.maven.org/maven2/org/freemarker/freemarker/2.3.23/freemarker-2.3.23.jar

https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.8.7/jackson-databind-2.8.7.jar

https://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/1.5.8/mariadb-java-client-1.5.8.jar

https://repo1.maven.org/maven2/org/nanohttpd/nanohttpd/2.3.0/nanohttpd-2.3.0.jar

https://repo1.maven.org/maven2/org/nanohttpd/nanohttpd-nanolets/2.3.0/nanohttpd-nanolets-2.3.0.jar

https://repo1.maven.org/maven2/net/java/dev/jna/jna/4.3.0/jna-4.3.0.jar

https://repo1.maven.org/maven2/net/java/dev/jna/jna-platform/4.3.0/jna-platform-4.3.0.jar

---
Below was the original specification provided by the unit director:

Coursework 2 involves developing the data access layer of a web-based forum application. You can do this either on a lab machine or on your own laptop.

Please follow the instructions in the PDF file, which are repeated here:

Download cw2-student.zip and unzip it; this creates a folder cw2-student/.
Go to cw2-student/lib/ and open README.txt; download the libraries indicated into the cw2-student/lib/ folder.
In the cw2-student/ folder, run ant compile. Start the DB VM database as usual (vagrant up, ensure you can log in with mysql) and run ant run from the cw2-student/ folder.
Browse to http://localhost:8000 and you should see "Hello world!"
You are required to submit all files in a single zip on the Blackboard course site.
If you need to re-submit a file, you must resubmit your full zip again, updated appropriately.

For CS2 support, please use the Unit Forums (Discussion Boards) on BlackBoard, or book an appointment.