vserver is a Java class framework which simplifies development of TCP based servers. The minimum server is

class MyServer extends it.unipi.di.vserver.Server { public void MyServer() { setPort(MY_PORT); } public void speak(it.unipi.di.Connection conn) { // code to provide the service through conn } }

To start the server, one need just to register this class with it.unipi.di.vserver.ServerManager. The server can accept multiple clients and keeps track of the accesses. The classes in the package are customizable through inheritance. Some other features of the framework are:

This framework is used in CompAss providing the service of collecting the plans of study submitted by students and storing them in the data base.

Antonio Cisternino (cisterni@di.unipi.it)