Web Chat using COMET and Java