What is adaptable AEM?
Also, what is a resource in AEM?
Resources are pieces of content on which Sling acts. The Resource is also an Adaptable to get adapters to other types. A JCR based resource might support adapting to the JCR Node on which the resource is based. A Resource object is valid for as long as the ResourceResolver that provided this instance is valid.
Also, what is the use of sling model in AEM?
Introduction: Sling models are released as part of aem 6.0. Sling Models are simple POJO classes which are mapped automatically with Sling Objects (resource, request objects.) and allow us to access jcr node property values directly into java classes. Pure POJO classes.
AEM is built using Sling, a Web application framework based on REST principles that provides easy development of content-oriented applications. Sling uses a JCR repository, such as Apache Jackrabbit, or in the case of AEM, the CRX Content Repository, as its data store.