Hi, I'm actually struggling how to use the API from the org.osgi.enterprise bundle. I actually know that deploying via felix fileinstall fails and causes karaf dying (KARAF-2006). Installing via feature or install command is successful. But in my opinion it's not a good solution to deploy a bundle which in some circumstances is causing issues and by the way do I ever really need the whole set of APIs? Mostly not. And of cause if using feature files you have to face to version question to use (4.2/4.3/4.3.1/5.0/...) The answer... it depends!
I think there is a bunch of solutions. - Add bundle into libs folder and import specific packages via properties file. But this solution is quite hard coded, bad to maintain and doesn't allow dynamic installation via features. - Build separate API bundle which only does include needed API (split enterprise bundle to its defined services). This solution is reimplementation official API twice. - ... Maybe anyone knows the panacea. :-) Best Benjamin
signature.asc
Description: OpenPGP digital signature
