Solved

Accessing JMS queue from VB application

Posted on 2004-09-24
4
365 Views
Last Modified: 2013-11-13
Is it possible to post and receive messages from JMS queue from a VB application? Or is there any way on interaction (sending and receiving data) between a java application and VB program.
0
Comment
Question by:SarikaDhami
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
KeithWatson earned 250 total points
ID: 12150748
JMS is a specification for an API that implementations of message queue software can implement to provide portability between different vendors' products, such as IBM's MQSeries (what's now being called WebSphere MQ) and Microsoft's MSMQ. JMS is a specification of a Java API and as such, cannot be used by a VB program. However, it's perfectly possible to write messages to an MQSeries queue (we do this at work) or an MSMQ queue. I wrote a C# program last week using the MQSeries API to post a message to an MQSeries queue.

There are other ways to communicate, the simplest being:

- Sockets: send messages across TCP/IP. Use the Winsock control in VB to achieve this and some basic socket programming on the Java side.
- Pipes: pipe the output of the VB program to the input of the Java program. This will only work if both programs are on the same machine.
- Web services would be another possibility; however, this is a good deal more heavyweight.

Hope that's of use.
0
 
LVL 3

Expert Comment

by:KeithWatson
ID: 12151714
Let me know if the code for a sockets-based solution is needed and I can post the detail.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
maven java path setting 5 62
maven example error 3 59
t-sql sp_addlinkedserver possible risks 3 67
egit plugin on eclipse 8 62
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question