This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes JMS - How to connect to a QUEUE setup on some server from stand alone application? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS - How to connect to a QUEUE setup on some server from stand alone application?" Watch "JMS - How to connect to a QUEUE setup on some server from stand alone application?" New topic
Author

JMS - How to connect to a QUEUE setup on some server from stand alone application?

Tom Raj
Greenhorn

Joined: Mar 03, 2005
Posts: 11
Hi All,
How would I read messages from a queue set up on some server. Can I use jndi, and what are the properties I have to set for the initial context?

Thanx
Tom
Robert Hayes
Ranch Hand

Joined: Oct 24, 2004
Posts: 116
You basically do the same thing that you would normally do from an app running inside the App Server; except you do it from a remote InitialContext. Setting up a remote InitialContext is dependant on your App Server vendor.

If it's OAS I can help a bit more.
 
jQuery in Action, 2nd edition
 
subject: JMS - How to connect to a QUEUE setup on some server from stand alone application?
 
Similar Threads
how to resolve this problem in simple stand alone java application.
doubt in receiving a message from queue
JMS java messaging service
Can dynamic data be shown to the clent using jsp
JMS