Hello,
are there any recommendations on how to convert a massive Java
application that uses a lot of native library code and custom
classpathes to OSGi?
I think there are 2 ways.
1. Put everything that is Java into one bundle and everything native
into a fragment bundle. Then start to extract smaller parts of the app
into their own bundles and replace custom class-path loading.
2. Choose parts of the app that can be grouped together into bundles
easily and rebuild the app "from scratch" using bundles.
Any experiences from the people here which solution is to favor? I tend
to think 1 is easier to accomplish. But it would also drag in a lot of
old code, whereas with the second way you could rewrite code and kick
out old code.
Thanks for your inputs on this,
Phil
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev