cackle
cackle

Reputation: 760

Configurable Comet servlet with Spring MVC

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?

Upvotes: 0

Views: 3122

Answers (1)

vacuum
vacuum

Reputation: 2273

See related qestion.

It is good aproach - to use Atmosphere library.

Upvotes: 1

Related Questions