[The Java Posse] Re: Desktop application and browser communication

2010-08-19 Thread klaasjan
I created the same scenario using terracotta, see terracotta.org. Terracotta makes from several vm's (in your case the desktop app and the web server, eg tomcat) seem as one. There is not a specific programming model to be learned, it's just Java (TM). So you can use the event listeners on your be

[The Java Posse] Re: Desktop application and browser communication

2010-08-18 Thread jahid
Thanks for the suggestion, I will look into it. But here the important thing is, the communication is initiated by the browser, and then the client just continues. Otherwise client have no clue when to start communication. As I said, I do not know if xmpp takes care of that. But I will definitely l

[The Java Posse] Re: Desktop application and browser communication

2010-08-18 Thread pforhan
I'd recommend a Jabber (XMPP) solution -- most often used as a chat protocol, it has a lot of flexibility, and it's great for this kind of direct communication. Smack is a well-known Java implementation. There seem to be several projects out there that offer AJAX to XMPP bindings, which could hand