Q

How can I send a message to JMS from C++ (on a Unix box)?

I'm looking into a method for allowing a C++ program to start up an EJB to do some processing. I am sending 4 simple parameters (2 ints and 2 small strings).

It looks like JMS may be the way to go, but I can't seem to find a way to send a message to JMS from C++ (on a Unix box). Can you point me in the right direction?


If you just want to send some simple parameters to an EJB, from a C++ application, then I'd rather suggest using a C++ CORBA ORB. JMS is targeted at Java applications, although there are JMS "add-ons" allowing C++ applications to send and receive JMS messages. But applying such a JMS/C++ solution to you problem might be like "shooting a bird with a cannon".
This was first published in December 2001

Dig deeper on Java Web Services

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide

SearchWinDevelopment

Close