Howdy,
Yes, it's easy to send and receive JMS messages in webapps in tomcat.
(It's not easy at all to run a JMS server inside tomcat, but that's not
what you're looking to do).

You install a JMS server somewhere, e.g. OpenJMS.  You configure a JMS
topic or queue with the name you want.

These servers typically have a client jar (openjms-client-xxx.jar),
which you put in the WEB-INF/lib directory of your webapp.  The server
will have a document saying what the initial context factory class name
is.  It will be in the client jar.

Then you just follow any JMS tutorial in the standards steps, i.e.
create the initial context using the factory for the server, connect to
the queue/topic, send/receive messages...

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Mark W. Webb [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, October 15, 2003 9:48 AM
>To: Tomcat Users List
>Subject: [slightly OT] Tomcat + JMS
>
>I need to add some JMS functionality to my web app.  I want to stick
>with Tomcat, since I have become very familiar with it, and like it.
>
>Has anyone had any experience with JMS and tomcat/servlets.  I need to
>have a class/servlet recieve JMS messages.
>
>
>Thanks,
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to