Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Why use WCMUsePojo when you can use SLing Models

Avatar

Level 4

I am wondering why you would use WCMUsePojo when you can use Sling Models to work with HTL components. Thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Both are valid ways to write Java side of a HTL component. Here is a good webinar: http://aempodcast.com/2017/apache-sling/week-aem-switching-sling-models-wcmusepojo/#.WlavAWinGF4

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Both are valid ways to write Java side of a HTL component. Here is a good webinar: http://aempodcast.com/2017/apache-sling/week-aem-switching-sling-models-wcmusepojo/#.WlavAWinGF4