Hello,

I'm fairly new to software development, and I was wondering what the
best way to forward JMS messages to a GWT webpage is, using Ajax
calls?

Basically, I'm trying to use Spring JMS, with a GWT page which sends
and receives messages (think of it as a chat room). I've built the
application using spring already, and I have a messageListener class
which listens to any JMS messages sent to a topic destination, and now
I want to implement a way to 'forward' these Strings to my GWT web
page without a manual refresh, nor a method call on the client side.
Is this possible?

I've managed to implement a way of checking for new messages into my
gwt page (using an RPC call to the server), but doing this needs
either a client-side action (pushing a key, or clicking a button) or a
timer with a set interval. Is there anyway of implementing a system
which will push the messages as they are heard on the listener to the
client? Or is there a way of having the client side only check for new
messages when one is ready to be received?

I hope I've been clear enough, apologies if I haven't been!

Thanks,
Pete

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to