Hello,
A quick design question for the worth.
I need to share data between C++ client and Java server. The Client talks to the server using SOAP.
The issue is - I have a generic interface serving all kinds of requests on the Java backend. I don't want to "pollute" is with specific kind of request object which will most of the times remain null.
So I'm looking for a "creative" solution:
- DB - C++ client writes to temporary (in memory) DB table, passes the ObjectKey to Java. Java creates an object from the record. Table is cleaned up each hour.
- Shared Memory Cache - C++ saved object to cache, Java fetch the object.
- SOAP - C++ passed the object as part of the SOAP request.
- MORE - ???
This must be as efficient as possible solution. I would love to hear other alternatives that I don't know of.
Thank you, Maxim.