Since your problem is similar to serverpush functionality you might also take a look into dwr. They have a chat example which you might use in your Tapestry app.
Look here: http://directwebremoting.org/dwr/reverse-ajax
Since your problem is similar to serverpush functionality you might also take a look into dwr. They have a chat example which you might use in your Tapestry app.
Look here: http://directwebremoting.org/dwr/reverse-ajax