0

I added Comet servlet into Spring web application. This servlet does not differ from the example of a servlet: http://tomcat.apache.org/tomcat-6.0-doc/aio.html#Example_code

I can connected in javascript to this comet servlet but when there need to transfer data (READ Event) then it's only going to timeout so the function writer.flush(); in MessageSender isn't work

I think this servlet is Spring blocked. There are other opinions and how can I added comet servlet in Spring?

cackle
  • 720
  • 2
  • 14
  • 24

1 Answers1

1

See related qestion.

It is good aproach - to use Atmosphere library.

Community
  • 1
  • 1
vacuum
  • 2,273
  • 3
  • 20
  • 32