Applets & JMS
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sashi_reddy
Posted On:   Monday, June 11, 2001 07:26 AM

Can Applets find, and subscribe to the JMS queues, or topics?
In that case, the webserver which served the applet need to be
the JMS provider too? If the JMS provider is in a different tier behind
the web server how will it work? Are applets allowed to do JMS at all?
Do the specific Message classes used need to exist on the client
side also?

Thanks,
Sashi

Re: Applets & JMS

Posted By:   Nicholas_Whitehead  
Posted On:   Saturday, June 23, 2001 08:56 AM

In short, yes.

The simplest way to make this work is to have the JMS server be on the same host as the web server serving the applet. However, you can also write your own proxy JMS servlet, or even better, use one of the vendor's own HTTP or SOAP client implementations and you should be able to seamlessly redirect the JMS requests from the HTTP server to the JMS server and back again.

Your applet will need acess to all the client side JMS jars required by the vendor.

//Nicholas

About | Sitemap | Contact