Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
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