I have a listener code which is listening to a queue and printing the messages on the console. This happens in real time. (Which means, as soon as the messages come to queue it is consumed by the listener and displayed on the console at the same time)
Now the requirement: I want to show the message on the html and it should happen in real time.( i.e. without using polling or refresh (F5)).
Is it possible with using an applet ? (I thought to create my listener code as an applet and update the html ; but not sure if I can update the html from applet)
Is there any other option to achieve this requirement?