README.txt Fionn Murtagh, Dimitri Zervas, Pedro Contreras Department of Computer Science Royal Holloway, University of London This file contains a track of changes, and a brief explanation of the service registry prototype -------------------------------------------- PEER-TO-PEER SERVICE REGISTRY PROTOTYPE -------------------------------------------- The prototype is compress into a Zip file, you should decompress the file into the directory of you preference. This file is 3.7 MB because include all the libraries (lib directory) needed to run the demo. At the moment the easiest way to run the prototype is using JBuilder. Once open the "wstalkjxta.jpx" project three different packages are visible, wstalkjxta.client, wstalkjxta.server, wstalkjxta.utilities. First thing is to run the SERVER, that is Server.java file Second, Run the CLIENT, that is ClientApp.java file Client: - Add service method: Add in the input box the name of the service to be added, no ID is needed since is assigned automatically - Update service method: Enter the ID service number to be updated, and the new service description. (The ID is used to update the service name) - Insert service method: Enter the ID service number after which a new service will be inserted... (this feature may no be need it in the future) - Remove service method: Enter the ID service number that will be removed from the registry All the result are shown in the Client console and server console Please be aware that once the server is down all the information will be lost since everything is store in temporal memory only and not in a file. This is due that testing is better in this way (we don't have to delete the files every time we do a new test) -------------------------------------------- MIDDLE TERMS GOALS -------------------------------------------- - Give the option to create the peer name - Give the options to create new groups or join to a existent one - Create a visual representation of the existent group and peer, that could be in a hierarchy form - Research into searching methodologies for services in the registry -------------------------------------------- CURRENT WORK AND IMPROVEMENT -------------------------------------------- - Enhancement of Ant script for deploy Server and Client - Researching into multiples connections for the server -------------------------------------------- BUGS AND PROBLEMS -------------------------------------------- - After start the client a number of times, it may be necessary wait for a minute or so to re-start the client again. This is due to the ports, since they may remain open for a short period of time after the application is quit - Just one client can be connected to server at the moment, this is due that the server is no managing multi-thread yet. -------------------------------------------- HISTORY LOG -------------------------------------------- VERSION 0.4 - Creation of GUI for Client peer - Simplification/depuration of code which have produced a more simplify Server and Client - Integration into one JBuilder project - The client has been tested into different computers in the same local network, it work fine VERSION 0.3 - Create a command line application for Add, Update, Insert, and Remove methods - Wrapping output messages into tags <>. (first steps to transform output into XML format) - First version of Ant Script for: Compile, generate Java Docs, create Tarball files, create Jar files, rebuild application, clean application - Re-organisation and clean up of files: All the application files where separated into packages (wstalkjxta.client, wstalkjxta.server, wstalkjxta.utilities), and these files where cleaned and made easy understandable for external developers VERSION 0.2 - Replace JXTA pipe for JXTA Sockets to send/receive messages - Create a Server peer to receive incoming communication - Create a Client peer to send messages to the server - Create Add, Update, Insert, and Remove methods in the server - Bypass default configuration of JXTA platform, assignation of peer name and peer group directly into the code. This is to facilitate testing in the code (is uncomfortable to assign these names every time that the cache files are deleted) VERSION 0.1 - Open two JXTA pipes, and send/receive messages - Create a Link List structure to store messages temporally