When building features in Adobe Experience Manager (AEM), there are times you need to leverage servlet logic that already exists—especially when it interacts with internal AEM APIs not available through public interfaces. For example, I recently needed to programmatically create Live Copies for assets. AEM doesn’t expose public Java APIs for this directly, but the … Continue reading SlingInternalRequest: A Cleaner Way to Reuse OOTB AEM Servlets with Internal API Access
Category: AEM OSGi
Exploring AEM’s Hidden Power: Unlocking OSGi Marvels
Picture creating digital marvels using LEGO-like blocks—thanks to OSGi, it's a reality! Uncover how OSGi transforms AEM, making it adaptable, robust, and geared for the dynamic web. In this blog, we'll delve into the advantages of OSGi. Would be sharing few more blogs later to understand implementations and discuss FAQs. Lets begin !!! What is … Continue reading Exploring AEM’s Hidden Power: Unlocking OSGi Marvels
Enhancing Efficiency and Reliability by Sling jobs
Sling Jobs in AEM serve as a valuable mechanism for handling asynchronous and background tasks. These jobs are particularly beneficial for managing long-running or resource-intensive operations without disrupting the web application's request-response cycle. They enhance the standard OSGi EventAdmin eventing mechanism by guaranteeing at least once processing, which is essential for use cases like sending … Continue reading Enhancing Efficiency and Reliability by Sling jobs
DS Annotations – Sling Filter
Sling supports filter processing by applying filter chains to the requests before actually dispatching to the servlet or script for processing. They can be used to call a servlet, to redirect to another page, to authenticate request, preprocessing, post-processing of mark up, logging, measuring, decoration or adding/removing request parameters. Filters to be used in such … Continue reading DS Annotations – Sling Filter