Views
Replies
Total Likes
Hi,
Just to be clear, every JAR file has a MANIFEST.MF file in it. OSGi defines additional headers which go in the manifest, but the core file and format (and placement within the JAR file) is defined by the Java core specification.
Regards,
Justin
Views
Replies
Total Likes
OSGi jar which are known as bundle requires OSGi metadata in its manifest so that an OSGi framework can manage the visibility of classes between bundles. A JAR without this metadata would only contain invisible classes, could not see any classes from other bundles, nor could it get started in any way. The Import-Package manifest header tells what packages should be made visible to the bundle, and the Export-Package defines the packages in the bundle that should be made visible to others.
Normal jar wouldnt have this metadata or a manifest file
Views
Replies
Total Likes
Hi,
Just to be clear, every JAR file has a MANIFEST.MF file in it. OSGi defines additional headers which go in the manifest, but the core file and format (and placement within the JAR file) is defined by the Java core specification.
Regards,
Justin
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies