Which reverse ajax library for Java?

3.8k Views Asked by At

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.

5

There are 5 best solutions below

0
On

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)

0
On

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.

0
On

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.

0
On

Try DWR

0
On

You can also use APE(Ajax Push Engine). Here is the link APE