Does any C++ Component Framework beyond Corba Comp

2019-07-19 15:24发布

问题:

I'm looking for a C++ Component Framework like EJB3 (sure, it's Java only) or Corba Components. But I'm not looking for Corba Components.

My requirements are

  • portable (linux, unix, optional Windows)
  • C++ interfaces (so, it's not a requirement for the framework itself to be written in C++)
  • optinal well documented or good examples given

edit:

  • remote objects (remote procedure call) shall be supported. [XPCOM does not support remote objects]

Thanks in advance.

回答1:

I'm aware of a few things. I'm only remembering of (I don't have access to my bookmarks file)

  • ICE
  • Facebook's Thrift

I know there are other component oriented frameworks in C++.



回答2:

Mozilla's XPCOM is a mature, portable component framework.



回答3:

I have used ZeroC's ICE in the past and generally been impressed by it. It meets all of the requirements that you have put forth.



回答4:

PocoCapsule is an open source and portable C++ component assembly and deployment framework that supports CORBA and WebServices etc. remote components. It is well documented with rich examples.