AGAnudeep Garnepudiinadapttoaem.hashnode.dev·Feb 7 · 4 min readEmbed-Dependency and How to Embed Third-Party JARs in AEMEmbed-Dependency allows you to include external JARs inside your bundle, effectively making them part of your bundle at runtime. It’s similar to “shading” in standard Maven builds, but OSGi-aware. ⚠️00
AGAnudeep Garnepudiinadapttoaem.hashnode.dev·Feb 5 · 6 min readbnd-maven-plugin ConfigurationWhat exactly is a Maven plugin? A Maven plugin is a collection of goals that perform actual work during a build. Maven itself is just a framework + lifecycle.Plugins do everything: compile, test, pac00
AGAnudeep Garnepudiinadapttoaem.hashnode.dev·Jan 31 · 4 min readHow to Use Non-Thread-Safe AEM Objects SafelyJCR and Sling objects are contextual views, not reusable services. They represent: A user A request A moment in time So the rule is simple: Acquire late → Use briefly → Release early 1. Resou00
AGAnudeep Garnepudiinadapttoaem.hashnode.dev·Jan 31 · 5 min readThread Safety in AEMThread safety in AEM means ensuring that request-scoped objects (such as ResourceResolver, Session, and Resource) are never shared across threads. AEM handles many requests concurrently, and many core00
AGAnudeep Garnepudiinadapttoaem.hashnode.dev·Jan 21 · 6 min readadaptTo() in Apache Sling: How It Works, When to Use It, and All Possible AdaptationsIn Apache Sling and AEM, adaptTo() is one of the most fundamental yet often misunderstood concepts. Almost every advanced feature in AEM like Sling Models, JCR access, services, rendering - relies on 00