Department of Computer Science

Dr Christos Kloukinas

- Advanced Programming: Concurrency

Dr Christos Kloukinas
Reader
Office A304H
Department of Computer Science
City St George's, University of London
Northampton Square
London EC1V 0HB

C.Kloukinas (at) CityStGeorges.Ac.UK
tel: +44 20 7040 8848
Staff.City.Ac.UK/c.kloukinas

Reaching the College building (where my office is) from Angel. (https://bit.ly/fdc0K2)

Reaching the main University building from Angel. (https://bit.ly/fNKDnq)

Advanced Programming: Concurrency

Advanced Programming: Concurrency

General Material

Textbook Exercises

You can try out the exercises from the first 5 chapters of the textbook.

Why Study Concurrency?

Cause it's damn difficult to get right... and testing alone does not help, must be designed right!

Lab Sessions:

Note: User and password for the lab answers is "s" (lab answers are released once the lab concludes)

Programming Tools

You can use whichever IDE you want for Java. But note that you should check that your programs work with the basic development tools, that is: javac (Java Compiler), java (Java Virtual Machine), etc.
I do not have any IDE on my system (no Eclipse, BlueJ, etc.) so I will not be able to compile your program if it needs one of those, in which case you will lose marks (quite a few...).
So either develop your programs using the aforementioned standard tools or make sure that they can compile your program once you've finished developing it (and before submitting it...).

Executing/coding applets

Formal Methods

Misc

Notes to historians...

To execute an applet you can use the (deprecated) program appletviewer, which comes with the JDK. Use it as:
appletviewer -J"-Djava.security.policy=java.policy.applet" file.html
where file.html contains a link to your applet, for example:
<!-- Contents of file.html -->
<applet code="MyApplet.class" width=800 height=250>
</applet>
appletviewer is fast, doesn't need much memory and can be easily killed if your applet goes wrong.

( The -J... option is needed to override the default security policy of the JVM, since Java applets are currently considered a security risk. The policy file needed is linked in the command above - store it locally where your file.html is. Here is the link to the policy file again.)