• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Subject: C++ and Java Communication

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,

Subject: C++ and Java Communication

In our current implementaion, we have a request object at C++ Client(unix enviornment) and this
object needed by Java based Engine for the proessing on the server side. Previously
we were using the webservice where we were creating Request.xml out of Request object
and passing it through web service to the Java Engine. And at the java end we were
again using "JAXB(Java API for XML binding)" to create Java objects out of Request.xml
than after processing we were sending Response.xml back to the C++ client.

So is there any way where we can take off or remove this XML layer part
and just enables C++ and java communication through objects.

can I go for CORBA

Best Regards
Ashima
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I suspect you will find CORBA more complex than your present XML based scheme. What are you aiming for here, maximum speed or maximum clarity and flexibility?
For maximum speed you could use direct socket communcation sending byte[] blocks back and forth - of course that means lots of picky coding to get byte orders, etc etc, correct - but you can't get any faster.
How firmly defined is the C++ side request format?
Bill
 
Destiny's powerful hand has made the bed of my future. And this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic