Reputation: 113
What are worth to look at libraries for reverse ajax in Java web app?
Atmopshere
is still in 0.6 version, ICEpush
still in alpha version, and websockets in Firefox 4.0 wont be available too.
Upvotes: 2
Views: 3835
Reputation: 2578
The blog post Introduction to Comet and Reverse AJAX by Krishna Srinivasan says:
AJAX push with ICEfaces
It is an open source AJAX based framework for developing Rich Internet Applications using Java. AJAX push is an exciting feature of ICEfaces which enable us to develop Comet web application with simple Java API without worrying about the low-level details of the push-mechanism. ICEfaces uses “long polling” to communicate from server to client. This involves holding an open connection from client to server with a blocking request, and then sends the response only when some state change in the application.
Upvotes: 0
Reputation: 22914
Try out Comet with Tomcat. Also, Tomcat 7 might be useful to you since it implements the Servlet 3.0 spec, which I believe has some niceties for Reverse Ajax thanks to the Async support. Here is an example.
Upvotes: 3
Reputation: 597362
The good thing about atmosphere is that it delegates to the best underlying mechanism available, and these mechanisms are mostly stable (each container provides its own ways). I think it's more or less a standard solution, so don't be bothered by the version. (Note: I haven't used it)
Upvotes: 0