CQ - What is OSGi bundle?

OSGi bundle(jar + metadata information present in META-INF/MANIFEST.MF) is collection of components which interact through service interfaces. These services are built using OSGi API and deployed in OSGi container (Apache Felix in case of CQ). 

Advantages of OSGi is

·         Different modules can be installed/uninstalled/start/stop any time without restarting the server/container.
·         Different version of same module can be used in the same application which is not possible using java.

System bundle is the first bundle loaded in Apache Felix (OSGi console). It is similar to bootstrap classloader in java. Bundle can be uploaded into Felix(OSGi container) through two ways

a)      CQ web console

b)      Putting the bundle file in install folder in jcr

Comments

Popular posts from this blog

Brief guide to ecommerce

CQ - How to set replication automatically from Author instance to publisher instance

New age career opportunities in Information Technology after graduation