nerdexam
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)
  • A
    86% (24)
  • B
    4% (1)
  • C
    7% (2)
  • D
    4% (1)

Topics

#OSGi Service#REST API integration#external data source#component development

Community Discussion

No community discussion yet for this question.

Full AD0-E128 Practice