Skip to content

Commit 3ea2153

Browse files
first commit
0 parents  commit 3ea2153

File tree

109 files changed

+2291
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+2291
-0
lines changed

README.md

Whitespace-only changes.

build.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<project default="compile">
2+
<path id="libs">
3+
<fileset dir="lib">
4+
<include name="*.jar" />
5+
</fileset>
6+
</path>
7+
<target name="compile">
8+
<mkdir dir="target"/>
9+
<javac srcdir="src" destdir="target">
10+
<classpath refid="libs" />
11+
</javac>
12+
</target>
13+
<target name="run">
14+
<java classname="uk.ac.bris.cs.databases.web.Server">
15+
<classpath>
16+
<fileset dir="lib">
17+
<include name="*.jar" />
18+
</fileset>
19+
<pathelement path="target" />
20+
</classpath>
21+
</java>
22+
</target>
23+
</project>

lib/README.txt

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Please download and install the following libraries into this folder.
2+
3+
https://repo1.maven.org/maven2/org/freemarker/freemarker/2.3.23/freemarker-2.3.23.jar
4+
5+
https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.8.7/jackson-databind-2.8.7.jar
6+
7+
https://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/1.5.8/mariadb-java-client-1.5.8.jar
8+
9+
https://repo1.maven.org/maven2/org/nanohttpd/nanohttpd/2.3.0/nanohttpd-2.3.0.jar
10+
11+
https://repo1.maven.org/maven2/org/nanohttpd/nanohttpd-nanolets/2.3.0/nanohttpd-nanolets-2.3.0.jar
12+
13+
https://repo1.maven.org/maven2/net/java/dev/jna/jna/4.3.0/jna-4.3.0.jar
14+
15+
https://repo1.maven.org/maven2/net/java/dev/jna/jna-platform/4.3.0/jna-platform-4.3.0.jar
16+
17+
---
18+
19+
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.
20+
21+
Please follow the instructions in the PDF file, which are repeated here:
22+
23+
Download cw2-student.zip and unzip it; this creates a folder cw2-student/.
24+
Go to cw2-student/lib/ and open README.txt; download the libraries indicated into the cw2-student/lib/ folder.
25+
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.
26+
Browse to http://localhost:8000 and you should see "Hello world!"
27+
You are required to submit all files in a single zip on the Blackboard course site.
28+
If you need to re-submit a file, you must resubmit your full zip again, updated appropriately.
29+
30+
For CS2 support, please use the Unit Forums (Discussion Boards) on BlackBoard, or book an appointment.

lib/freemarker-2.3.23.jar

1.29 MB
Binary file not shown.

lib/jackson-databind-2.8.7.jar

1.18 MB
Binary file not shown.

lib/jna-4.3.0.jar

923 KB
Binary file not shown.

lib/jna-platform-4.3.0.jar

2.18 MB
Binary file not shown.

lib/mariadb-java-client-1.5.8.jar

440 KB
Binary file not shown.

lib/nanohttpd-2.3.0.jar

48.7 KB
Binary file not shown.

lib/nanohttpd-nanolets-2.3.0.jar

19.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)