Hi all, sorry for inconveniqnce with this question a little bit Of Topic....But I'd like to have authoritative answers from OsGi gurus. Using an Eclipse RCP architecture I'd like to see one bundle loaded previously, invoke (start & feed input) another bundle. I'd like to get a clean & smart answer to this classic (?) problem. I 've read many things but did'nt find any clean solution...
I could use a hack but no so bad, while using the Logging service to feed my second application from the 1st one....It's not so bad but absolutely unclean... I could use the Provisioning Service but is it an optional or required service ? So may I found it in any OsGi brick ? I'm quite shocked by the Service design I think I would have preferred a cleaner solution like the JMX one which is quite fun to program regarding the great decoupling that we get while just calling another component whith its name... No need of tricky downcasts .... I may be absolutely wrong so your feedbacks, opinions are essential for me... I've ssen many imagined many solutions with: - singleton ( bad) to handle the communication between bundles ( singleton bringed by one service) - I imagine to make some Java reflection using the Bundle-Activator property ( header in the osgi manifest jargon) - or I could reach my goal using the classic Java/J2EE solutions using JMS/JNDI artefacts....but this sounds quite heavy and redondant isn't it ? best regards jerome -- Jerome Moliere - Mentor/J http://romjethoughts.blogspot.com/ auteur Eyrolles

