As part of my BSc Computing course at Teesside University, I did two modules that covered networking programming in a chat room with avatars enviroment while utilising Java. These built upon each other and so have been merged into a single project page.
In we were briefed to produce a Java TCP/UDP chat server. Before the project started we were provided an interface.
The chat client combined both text chat along with a 2D avatar. Chat messages were location dependant, unless commands such as /shout or /whisper were used. In addition, the server had a hierarchy to it, keeping track of owners and moderators with their own special powers such as setting new mods or silencing users.
Overall I enjoyed programming in Java – it provides a great platform to develop network enabled and multithreaded applications with a very friendly language.
In my final year, I took part in a second module using Java to create networked applications. The improvement over the last project was the requirement to be entirely non-blocking and to use another language to as an optional component. By using a framework created for the project by my tutors, I created an alternative to blocking TCP module included as well as adding UDP and limited SSL functionality. For the alternative languages, I used a Java based implementation of Python called Jython to allow me to call Python implementations of TCP and UDP and fulfil that requirement. This is due to Python’s quick and easy syntax.
Overall this project was very useful in teaching how to deal with large projects and granted some limited experience in Python
Both projects’ source code is available on Bitbucket at https://bitbucket.org/michael_charge/networking-projects