OSGI – DYNAMIC MODULE SYSTEM FOR JAVA
Another fundametal layer of AEM is represented by OSGi framework.
OSGI — Open Service Gateway Initiative — a framework for component-based service-oriented applications in Java
OSGI apps are organized into bundles —modules that:
- Are managed by the OSGi container
- Can be deployed, started, stopped, and uninstalled independently, without the container restart
- More than one version of a bundle can be run at the same time
- Only packages explicitly exported are visible to other modules
- Dependencies are explicitly declared and managed by OSGI container
- Libraries can be embedded into the bundle
- A bundle is assembled as a JAR file with additional metadata
MANAGED JAVA IN OSGI CONTAINER
- Apache Felix is uses implementaion of OSGi framework in AEM.
- Provides web based console for managing Dependency and
- configuration.
- Provide services like (All based on OSGI Specification)
- Dependency Manager
- HTTP service (for servlet, filter, resource registration, this run within Jetty for AEM6)
- Maven Bundle and SCR Plugin
- Event Admin (Bundle based Event)
- Config Admin
- OSGI Bundle repository
- Logger
- File Install
Summary
Let’s do quick recap and summarize AEM Technology stack with very simple picture. In this article you belongs that AEM is JAVA based application major framework that used by AEM Apache Sling for request processing. Apache Jackrabbit Oak implementation of Java Content Repository and all these residing on OSGi container using Apache Felix implementation of OSGi framework.
10 comments on AEM Technology Stack
Latha Manivannan Says
21/06/2020
Nice article!! Looking forward for adv topics👍
Megha Says
21/06/2020
Great knowledge sharing about AEM Architecture. Looking forward for more.
Prabhu K Says
21/06/2020
Great Article santosh. Looking forward for more articles.
Prasanna Says
21/06/2020
This is really good and in-depth guide of the architecture
Harshad Patwa Says
22/06/2020
Great Article. Looking forward for more articles.
Medhavi Kulshrestha Says
22/06/2020
Amazing Content. Really helpful for beginner as well as Intermediate in AEM .
Prasanth Kakarla Says
23/06/2020
Great explanation about AEM architecture and all the basics related to AEM.
Looking forward for more!!
Irfan Alam Says
24/06/2020
Good explanation of the AEM architecture… Quite informative.
Vinod Kumar Venkiteela Says
11/07/2020
Nicely done Santosh.. Good luck..!!
vamsi kokku Says
12/07/2020
wonderful blogged. All the best