Exam AD0-E103 All QuestionsBrowse all questions from this 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?

    Correct Answer: C

    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
mcamporesiOption: C

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

subbaOption: C

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.