How to use a GWT client to send messages to a JMS queue

160 views
Skip to first unread message

whoever

unread,
Dec 7, 2008, 11:19:56 PM12/7/08
to Google Web Toolkit
I read about GWT, RPC Remote Service, etc. I was wondering how to send
messages from a form field on a GWT client using( GWT RPC servlet) to
a JMS queue.
How can I wire up GWT with JMS. Thanks very much for guidance

Litty Preeth

unread,
Dec 8, 2008, 2:37:36 AM12/8/08
to Google-We...@googlegroups.com
Well I suppose u ll have to do the JMS connection at the server side only. Send the data from the form fields to server through RPC, then inside the RPC service method, create the message using the data, get the connection to the JMS queue and send the message.

- Litty Preeth

mikeds...@gmail.com

unread,
Dec 8, 2008, 8:02:20 AM12/8/08
to Google Web Toolkit
Litty is correct, this is exactly how we are doing it in one of our
applications. GWT-RPC between client and server, the server then
manages the connection to a JMS queue. Keeping this separation has
actually been better for us, as we recently retooled our queue
technology (we moved away from JMS) and the rest of the application
has no idea.

Later,

Shaffer

On Dec 8, 12:37 am, "Litty Preeth" <preeth.h...@gmail.com> wrote:
> Well I suppose u ll have to do the JMS connection at the server side only.
> Send the data from the form fields to server through RPC, then inside the
> RPC service method, create the message using the data, get the connection to
> the JMS queue and send the message.
>
> - Litty Preeth
>
Reply all
Reply to author
Forward
0 new messages