Why use WCMUsePojo when you can use SLing Models | Community
Skip to main content
Level 4
Jan 11, 2018 12:13 AM UTC
Solved

Why use WCMUsePojo when you can use SLing Models

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Jan 11, 2018 12:27 AM UTC

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

1 reply

smacdonald2008
smacdonald2008Accepted solution
Level 10
Jan 11, 2018 12:27 AM UTC

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

Translate