Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3215148
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:08:38+00:00 2026-05-17T15:08:38+00:00

I have an application in C++, but it’ll need to ‘talk’ to Java based

  • 0

I have an application in C++, but it’ll need to ‘talk’ to Java based message-service. In the past we used WebSphere MQ and used their C++ libraries to do the ‘talking’.

So I am in search of (ideally) free C++ to Java solution which doesn’t hold the whole JVM in memory.

The other option I’ve looked into is SOAP.
I’ve looked into Axis2-C but it gives me the whole server implementation, which I don’t need.
I’ve seen talk about gSOAP but saw mixed comments here. And again it seems to be providing me with a whole server.

I could write the code myself – but it goes against my (Java based) belief that excellent free code exists out there.

Thanks!
A’z

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T15:08:39+00:00Added an answer on May 17, 2026 at 3:08 pm

    There are a couple of points here which don’t make sense to me, JMS is a java specific abstraction over a generic messaging API, much the same way that JDBC is a java specific abstraction over a generic database API.
    I can’t imagine anyone wanting a JDBC driver for a C++ application, they would rather use an ODBC driver.

    So if I assume that your objective is to send messages without using Websphere MQ from a C++ application, then I can recommend that you consider the following:

    • Do you need asynchronous messaging? i.e. store message on queue until message is consumed?
    • If yes, then web-services will not work for your application, unless you are prepared to host a web-server to receive the responses, and call back to your application.

    You haven’t mentioned whether the underlying java based message service is going to be JMS or WebServices.
    You could consider using ActiveMQ as a messaging provider, it provides an implementation of the JMS API and also implements the STOMP protocol, which has client libraries for a number of languages including C++.

    You could leave open your decision for end-point protocols while you try out various options, by implementing an integration layer using something like Mule.
    You can quickly develop small integrations on Mule e.g. to accept a Message on ActiveMQ, and post it to a WebService and put the WebService response on a different ActiveMQ response queue. Or vice-versa, accept web-service call and post SOAP onto JMS queue, wait for JMS response and build SOAP response.

    There are many ESB-like frameworks which can facilitate these sort of integrations to various degrees :

    • Mule
    • ServiceMix
    • Fuse
    • Apache Camel
    • Spring Integration
    • JBoss ESB

    EDIT:
    Given the clarification I will refine my answer:

    1. You need a common message broker that is accessible to C++ and Java such as ActiveMQ.
    2. You need a small / lightweight integration layer such as some of those above to accept from ActiveMQ and forward to SonicMQ, and vice-versa.

    2.1 From what I know of Sonic, they have an ESB stack that should be able to do this instead of using one of the containers/frameworks mentioned above, but that will open up issues of integration ownership between you and the client.

    I found 3 links showing Sonic support for C and C++ :
    – http://www.sonicsoftware.com/products/docs/sonicmq_app_server_ds.pdf
    – http://www.sonicsoftware.com/developer/documentation/docs/sonicmq_c_v60.pdf
    – http://communities.progress.com/pcom/servlet/JiveServlet/download/10809-3-10161/cclients_readme_76.htm (dodgy mime type on this link)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that has Powershell 1 embedded into it, but we need
I have worked on iPhone application but not aware of the formalities to submit
I have seen examples of printing from a windows application but I have not
I have an application that works great on my development workstation but fails when
I have a application deployed through clickonce, but How can I modify the config
I have an application which really should be installed, but does work fine when
I have an application that has several objects (about 50 so far, but growing).
We have a rails application in subversion that we deploy with Capistrano but have
I am working on a rails application (I have some experience with rails). But,
I'm trying to test a method I have in my application, but I don't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.