Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!
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