Adobe
AD0-E128 · Question #101
A team is developing a new AEM component that fetches dynamic content from an external REST API. Which approach should they take?
The correct answer is A. Implement an OSGi Service to consume the API and expose data to the component. See the full explanation below for the reasoning.
Develop AEM Sites Workflows and Integrations
Question
A team is developing a new AEM component that fetches dynamic content from an external REST API. Which approach should they take?
Options
- AImplement an OSGi Service to consume the API and expose data to the component
- BDirectly embed JavaScript in the HTL file to fetch data from the API
- CStore API responses in JCR nodes and manually update them every hour
- DUse static templates and update the data manually when needed
How the community answered
(28 responses)- A86% (24)
- B4% (1)
- C7% (2)
- D4% (1)
Topics
#OSGi Service#REST API integration#external data source#component development
Community Discussion
No community discussion yet for this question.