Re: [Asterisk-java-users] deciphering events
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2006-01-23 23:34:28
|
> could you offer some advice? > I want to broadcast most of the events via Ajax so I was wondering if > it was wise to: > Leave HelloEvents.java as an executable without a timeout specified > and just let it run or convert it to a servlet. > Basically I think I will be building a XML doc from specific events > that are generated by HelloEvents.java..... although I am new to Ajax > as well. I would run a just register an EventHandler (like the one in HelloEvents that receives events and places them into some kind of queue. Then you can have a servlet that polls that queue and transmits the events to your ajax client. =3DStefan >=20 |