jQuery in Action, 2nd edition*
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 Spring in Action this week in the Spring 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?