1

I'm writing a Java EE application on WebShere where I want to notify client mobile users. I'm using Phonegap and HTML5. I'm searching for a solution to notify clients. I was not able to run a websocket with Websphere and Jetty.

Is there any solution to notify mobile clients using Comet, reverse Ajax?

Arjan Tijms
  • 36,666
  • 12
  • 105
  • 134
Aymen Taarit
  • 654
  • 1
  • 10
  • 22

1 Answers1

0

I think you already know your solution. You mentioned Reverse Ajax and Comet. What you want is called long-polling or push technology. This may get you started:

http://www.ibm.com/developerworks/web/library/wa-cometjava/

Comet and jQuery

http://en.wikipedia.org/wiki/Comet_%28programming%29

http://en.wikipedia.org/wiki/Push_technology

Community
  • 1
  • 1
mawcsco
  • 604
  • 6
  • 18
  • thank you for your help but I was searching an example to use in my application im using websphere ,how can I use comet with websphere? thx again – Aymen Taarit May 30 '12 at 21:02
  • my apologies, it looked like your question concerned the client-side implementation. I suggest you reword your summary and question to pin-point your exact question. Also, I added a link to my answer for IBM WebSphere and Comet. – mawcsco May 30 '12 at 21:51