Monday, October 22, 2007

Breaking the silence

It has been some time since i wrote an entry.
But anyhow I wrote already some code for that Java project I have. I've put together what I call a distributed event handler. Well basically you have a Java class EventDispatcher which reads which reads a configuration file (now XML) from which it knows who can handle the various events. In case the the handler is on a remote host it'll open a network connection and write the event object to the network connection. The EventHandler on the other side will handle the received event and reply if needed. I tested this first version and it works even though it is not optimized. I'll try to have the code hosted somewhere and publish link on this blog.