This is exactly my problem, finding out the required bundles to install.

As for now, I've found that 'canonical' SO answer:
https://stackoverflow.com/questions/48204141/replacements-for-deprecated-jpms-modules-with-java-ee-apis/48204154#48204154

unfortunately, many of the listed artifacts are not OSGi-zed. 

On the other way, I'm missing details, how are Java's 'services' working in
OSGi environment. For example, for JAXB, who will load the
javax.xml.bin.JAXBContext implementation, the bundle from which the package
javax.xml.bind is imported? 

I suppose I'm not the only person with that problem and there's some
'proper' list of bundles to install to use JAXB, JAX-WS etc. 

I suppose the solution for Java 10 will work in Java 11 too, so waiting for
Java 11 will not fix anything authomatically? 





jbonofre wrote
> With Java 9/10/11, as Freeman said, EE packages are not in separated
> modules. So you have to either install the packages in the JDK (and
> update jre.properties) or install the required bundles.





--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Reply via email to