is it any simpler way then cometd as long-polling framework for java?
Because what I need - is client specifies some parameters and sends them to server.
Server process them
These guys Atmosphere Asynchronous WebSocket/Comet Framework really made nice job at simplifying the server push process with fallbacks mechanism when browser and/or server parts does not support websockets