This trail provides a set of application-specific OSGi design patterns along with basics for easy understanding. The sample source code given is implemented using AEM 6.x running on Java 8. Note that AEM uses Apache Felix OSGi container with the Declarative Services component model.
Basics
- OSGi – A simplistic view
- OSGi dynamic component model
- Component Vs Services
- Slicing a bundle – Sneak into what’s inside.
- Hiding classes within bundles.
- Bundles of multiple versions co-existing.
- Fragment.
- Service publisher and service consumer.
- Components which requires mandatory configuration object.
- Service listener pattern.
- Filtered service listener.
- Factory pattern.
- Config factory pattern.
- Extender pattern.
- Service deployment.
- Event admin
- Wire admin
- Named dynamic extension pattern (Query builder case).
- Dynamic implementation selection of a service.
- Overriding OOTB servlet in AEM.
Reference
No comments:
Post a Comment
If you have any doubts or questions, please let us know.