This document discusses Sling Models, which provide a simplified way to adapt Sling resources into domain objects in AEM. Some key points:
- Sling Models allow resources to be adapted to POJOs with minimal code using annotations like @Model and @Inject. This is cleaner than previous "adapter factory" approaches.
- Common use cases like injecting resource properties, child resources, services and more are supported out of the box via standard injectors.
- Sling Models are pluggable, so custom injectors can be added to inject non-standard dependencies.
- They allow resources and requests to be adapted to either classes or interfaces, keeping domain objects simple POJOs.