Adobe
AD0-E128 · Question #12
Which steps are required to implement a Sling Model in AEM? (Choose three)
The correct answer is A. Use @Model(adaptables = Resource.class) annotation B. Define properties using @Inject annotations D. Implement the Exporter interface for JSON serialization. See the full explanation below for the reasoning.
Develop AEM Sites Components
Question
Which steps are required to implement a Sling Model in AEM? (Choose three)
Options
- AUse @Model(adaptables = Resource.class) annotation
- BDefine properties using @Inject annotations
- COverride the cq:template node
- DImplement the Exporter interface for JSON serialization
- EAdd permissions in /etc/security
How the community answered
(42 responses)- A81% (34)
- C12% (5)
- E7% (3)
Topics
#Sling Models#@Model annotation#@Inject#Sling Model Exporter
Community Discussion
No community discussion yet for this question.