Re: Javascript -> JmsReplyTo(TemporaryDestination) -> JSONP

2007-05-07 Thread northshorefiend
northshorefiend wrote: > > Say you have a widget on a webpage. The user clicks 'send' and expects a > 'synchronous' response. > > [..] > > I have another idea, but I can't make a link to a future post here :-) > While testing my other idea I

Javascript -> JmsReplyTo(TemporaryDestination) -> JSONP

2007-05-07 Thread northshorefiend
Say you have a widget on a webpage. The user clicks 'send' and expects a 'synchronous' response. You could just register a listener with amq.js and wait asynchronously for a reply. But the user complains it is not fast enough. So what about using the JSONP idea to contact the server outside of