AEM supports the use of both Sling APIs and JCR APIs.
Docs on best practiceshttps://experienceleague.adobe.com/docs/experience-manager-learn/foundation/development/understand-java-api-best-practices.html?lang=enDocs on Sling APIhttps://sling.apache.org/old-stuff/sling-api.html Docs on JCR APIhttps:...