Hello, I recently wanted to implement something like OSGi on a WindowsCE industrial device (painly slow on java) using C++. I just sketched out a simple ServiceRegistry and bind/unbind facilities. But then I wondered if there already exists an OSGi implementation for C++? It seems that SOF is one approach and on the "C" side celix is in Apache incubation. SOF is not multi-threaded and celix is plain "C". Both where not an option for me.
Then I thought it would be nice to allow .net and other languages that already can write components for Microsofts COM to also have an OSGi like environment. So I quickly setup a simple COM/ATL based multi-threaded org.osgi.framework in about 1000 lines of code. It can already register/unregister services and could register every COM object as service and threat COM server DLLs as "bundles". Class loading follows the rules of COM (which are not as strict as on the java side). Also the framework would not use C++ exceptions but instead HRESULT return values (which a wrapper than in turn could throw exceptions from). Before I invest any more time in this: Are there already C++ implementations out there that I could use? Is it even useful to have something like OSGi on the native side (where Java is not available)? What are your thoughts on this? Regards, Phil
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
