reverse-ajax

Which open-source comet/ reverse-ajax libraries will you recommend to be used with Tomcat 5.5? Why?

I have seen continuations in Jetty 6.0 that addresses scaling for comet/reverse-ajax applications. Are there any other libraries/frameworks to be used with Tomcat 5.5? ...

port listening in javascript

I'm trying to write some simple chat client in javascript, but I need a way to update messages in real time. While I could use the xmlhttprequest function, I believe it uses up a TCP/IP port on the server and possibly more importantly, is not allowed on my current hosting package. It doesn't seem like an ideal solution anyway as it seems...

Usage of observer pattern with EJB and AJAX

Hi, I want to build an Ajax gui, that is notified on any state changes happening in my ejb application. To achieve this, I thought I build an stateful ejb (3.0) that implements the Observable interface to which the Ajax client is added as an observer. First, is this possible with Ajax. If yes, is this a good design idea or is there a m...

What is the simplest way to implement "server push"-like behavior for a web page?

I'm attempting to make a very simple 2-person chatroom for my Django site. I'm learning AJAX to do this. I need parts of the web page to update without user interaction: When User 1 sends a message, it should appear on User 2's screen When User 1 logs off, his status should change to "offline" on User 2's screen What is the simplest ...

Can XMPP be used like Comet's http long wait?

Can XMPP be applied in a similar way to the reverse Ajax pattern? Can it be used to implement http long wait like Comet? Is there an example of using such a technique with XMPP? ...

httpsession doesn't expires when reverse Ajax is enabled

Hello. I have a web application that uses DWR reverse Ajax (pollAndCometEnabled set to true) In my web.xml i have set a timeout of 30 minutes for the HttpSession. Since DWR polls the server, the http session is always active and the result is that it never expires, even if the user's interaction is inactive for over 30 minutes. Does anyo...

Reverse Ajax + JSP-Servlet

Hi, We are trying to create a reverse ajax in our project. I've checked on the net and didn't find something concrete. I was unable to run any of the tutorials provided successfully. My object is: to provide on-screen alerts (like a pop-up) when ever there is an even pushed from the server (it could be high cpu usage/ram, anything). ...

Can push technology / comet be faked?

Client has a dating site and would like to have a popup (either a nice javascript overlay or a new browser window popup. we're flexible.) displayed to users when another user is visiting their page. I'm familiar with push technology and Comet but it's quite challenging to implement this and may place serious strain on a server with over...

APE-Project and ASP.NET MVC

Hi Guys, I am attempting to utilize the reverse-ajax project APE-Project with ASP.NET MVC and wondering if anyone has had any experience utilizing this project with ASP.NET and can provide some advice accordingly ? Is there something better to use than this [APE is free however so its +++] Thx ...

How To Implement ReverseAJAX (Comet) in ASP.Net MVC

How could I implement a Comet architecture in a ASP.Net MVC? ...

How scalable is the Lift framework's comet/reverse ajax?

I recently learned scala and about to start working/learning Lift framework. Going through the Features and getting started with the framework, I had seen some amazing capabilities of the framework including the reverse ajax and comet. Earlier in my experience I had really really bad experience with the reverse ajax which never scaled. I...

Client polling (reverse AJAX) for chat requests in Django?

I want to make it that one user on the site can chat request another user on my Django site. I want the requestee to get a realtime box that say: "Do you want to chat?" How does the following client polling approach sound: user1 clicks on users2 nickname, generating a POST request to some /message/requests, which creates a Message of t...

Comet, Ajax Push, Reverse Ajax

Hi Guys. Someone have any sample of Comet app .net? I need one sample how to persist connection of client in server? ...

How should I implement reverse AJAX in a Django application?

How should I implement reverse AJAX when building a chat application in Django? I've looked at Django-Orbited, and from my understanding, this puts a comet server in front of the HTTP server. This seems fine if I'm just running the Django development server, but how does this work when I start running the application from mod_wsgi? How d...

PHP real time chat with ajax polling

I need to create a chat similar to facebook chat. I am thinking to use ajax polling ( to send request every 2-3 seconds ). Is this a good approach ? Or I need to use other server side languages like erlang and server-comet ? ...

C#/ASP Based Reverse AJAX

I have a current project running using APE that needs to work on C#/.NET... I was wondering if anyone had any suggestions for either a method of approaching Reverse AJAX/Comet on C#/.NET or any packages such as APE that are available. EDIT For clarification, APE doesn't work on Windows. Which is a restriction I have with the project. ...