Hi everyone,

I have read this very interesting article regarding OSGi EventAdmin Service 
(http://wiki.eclipse.org/E4/Event_Processing) and one of the references 
provided( 
http://www.dynamicjava.org/articles/osgi-compendium/event-admin-service).

In the latter, it is said that
"Placing non-primitive types (types other than string and and the eight 
primitive types) as Event Property values is far form being considered a best 
practice since in cases where the handler of your event exists in a different 
environment (different VM for example), the handler might not be able to 
deserialize the property."

While I do agree with the deserialization problem, I wonder what the best 
practices are to transfer objects from one bundle to another.
For instance, if I have one complex object that is setup by a given bundle and 
processed by a second one, how would you transfer the object? Using Services 
might answer the problem but the application I am developing should transfer a 
lot of objects between bundles and creating a Service for each one of them 
could be a painful task.

Kind regards

Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to