Hi people, I've seen some stuff in the direction of distributed OSGi, however, before I delve deep into the implementation details of these, I have one question regarding deserialization (which is usually necessary when dealing with Java RMI calls). How would I go about doing it, normally I would grab the appropriate classloader, and deserialize the object graph using that. In OSGi however, there's no way (at least as of R4 4.1) to access the classloader of a bundle directly (which makes a lot of sense, I'm not questioning that), so how would you go about resolving this issue? The best solution I've come up with so far is to implement a classloader, mapping methods such as findClass to the bundles loadClass etc. There are some semantic differences (primarily regarding resolving classes), but I've not been able to construct a case where the behavior is undefined or wrong with respect to deserialization.
Has anyone else got a better idea, or some other suggestions? Thanks, Fredrik. _______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev