Hi,
I have a J2EE server with a JMS service running. Let's say that it's reference is jms/myqueue.
Now if I reference it inside a web application, through it's context lookup, it gets the reference fine.
But now I want to have a stand-alone program that runs on the operating system, and I want to access that same queue, probably by using the jms/myqueue naming, and send some messages to the queue.
How can I do it?
That would probably allow me to also access a datasource, like some jdbc/mydb on the J2EE application server. Right?
Any help pointing me out the way would be appreciated.
Thanks
I have a J2EE server with a JMS service running. Let's say that it's reference is jms/myqueue.
Now if I reference it inside a web application, through it's context lookup, it gets the reference fine.
But now I want to have a stand-alone program that runs on the operating system, and I want to access that same queue, probably by using the jms/myqueue naming, and send some messages to the queue.
How can I do it?
That would probably allow me to also access a datasource, like some jdbc/mydb on the J2EE application server. Right?
Any help pointing me out the way would be appreciated.
Thanks