Solved

Accessing JMS queue from VB application

Posted on 2004-09-24
4
371 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HSSFWorkbook cannot be resolved error 10 148
servlet doXXX methods 3 85
hibernate example for saving data 19 80
convert Systemjs to Webpack 3 84
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video teaches viewers about errors in exception handling.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

696 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