Hi,

basically you have two choices

1. create a kind of proxy for your Ajax calls (
http://developer.yahoo.com/javascript/howto-proxy.html)

2. use some of the *cross*-domain ajax stuff, such as
http://blog.monstuff.com/archives/000280.html


-- 
Dejan Bosanac


http://www.ttmsolutions.com - get a free ActiveMQ user guide

ActiveMQ in Action - http://www.manning.com/snyder/
Scripting in Java - http://www.scriptinginjava.net




thomfost wrote:
> Can I interact with ActiveMQ using AJAX from pages hosted on a different web
> server?
>
> The idea is to have a similar thing to the portfolio webapp demo where
> messages are published to a topic and are updated in real time on the
> portfolio webpage.
>
> However, I need the web pages themselves to be hosted on a different server
> to ActiveMQ, does anyone know if this would still work? I've tried doing it
> with the portfolio webapp but the portfolio doesn't get updated even though
> the messages are published.
>
> Any help is appreciated.
> Tom
>   

Reply via email to