Archived

This forum has been archived. Please start a new discussion on GitHub.

ICE - Protocol buffers

Hi,

Thsi seems to be an encoiraging piece of information now .
W ewere thinking of doing some work in the direction of common serialization protocol for Java/C++ and bingo , ICE gave us that . Just to be sure , we would like to store certain session related objects using protocol buffers . These objects can be persisted from from C++ / Java and retrieved likewise .
Please advise if we are on teh rigjht track. Also it would be great help if you could point us to the right patch which will have this change .

Thanks & Regards
Faiz

Comments

  • matthew
    matthew NL, Canada
    I'm not entirely sure what your question is. You can certainly use protocol buffers to store session related objects in a serialized form in java and C++. Of course, you can also use Freeze to do the same thing, in a more convenient form. Also, from your description of your intended use-case for protocol buffers, it doesn't seem like you want pass pass protocol buffer objects over remote calls. If that is the case, then you don't need to alter Ice at all.

    The patch to add protocol buffer support is available from http://www.zeroc.com/labs/protobuf/download.html.
  • protocol buffers

    can you provide details wrt to your protobuf plans?

    eg. do you plan to implement the RpcChannel interface, responsewaiter class, etc?
  • matthew
    matthew NL, Canada
    No, we don't plan to implement these things. The RpcChannel interface and such are very very incomplete RPC mechanisms. Why would we provide implementations of such an incomplete mechanism, when Ice already provides a very full featured, and more convenient, implementation?