AEM Page Start-up issue: org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: Compilation errors in com.adobe.aem.spa.project.core.models.Page cannot be resolved to a type
Yearly Archives: 2024
React SPA setup and component creation in AEM Headless CMS. Create a SPA React Project. Understand Basic SPA Integration. Create a Static SPA Component
Learn How to Unit Test Sling Models using JUnit 5 and AEMContext which provides a proper mock environment so that you don't have to user other mock frameworks like powermocks etc.
Unit tests is an essential practice for developers as it promotes early defect detection, higher code quality, increased confidence in changes, faster development cycles, and improved maintainability.
We discuss the key differences between Resource and SlingHttpServletRequest Adaptable in Sling Models, select the right one for your requirements.
Java 8 stream api sample code to join a list of strings using another character alongwith a conditional flow and also to find distinct and sorted result