AD0-E103 Exam QuestionsBrowse all questions from this exam

AD0-E103 Exam - Question 32


A custom AEM application is using the PageManager API.

What should a developer add to make the application compile and run correctly in AEM?

Show Answer
Correct Answer: AC

To ensure the custom AEM application using the PageManager API compiles and runs correctly in AEM, the developer should add a Maven dependency to the AEM uber-jar to the application bundle. The uber-jar contains API interfaces and classes along with the appropriate MANIFEST.MF file for package export versions, ensuring the correct package import ranges.

Discussion

2 comments
Sign in to comment
mcamporesiOption: C
Jul 21, 2020

Isn't C the correct answer ?. Dependencies are declared at bundle level

subbaOption: C
Dec 17, 2020

Answer C The UberJars only contain API interfaces and classes, meaning that they only contain interfaces and classes which are exported by an OSGi bundle in AEM. They also contain a MANIFEST.MF file containing the correct package export versions for all of these exported packages, thus ensuring that projects built against the UberJar have the correct package import ranges.