what is the difference benefits between using sling model (@Model) and Model creating using WCMUSE (WCMUsePojo)? | Community
Skip to main content
Level 2
March 7, 2017
Solved

what is the difference benefits between using sling model (@Model) and Model creating using WCMUSE (WCMUsePojo)?

what is the difference benefits  between using sling model (@Model) and Model creating using WCMUSE (WCMUsePojo)?

I am not getting clean idea about When should i use @Model and WCMUsePojo?,      can i mix both ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Feike_Visser1
Feike_Visser1Accepted solution
Employee
March 7, 2017

You can mix both if you want.

With model-classes you can make them more reusable, and less code to get services etc.

WcmUsePojo makes it easy to start with coding, but it is bound to the UI

1 reply

Feike_Visser1
Feike_Visser1Accepted solution
Employee
March 7, 2017

You can mix both if you want.

With model-classes you can make them more reusable, and less code to get services etc.

WcmUsePojo makes it easy to start with coding, but it is bound to the UI

Translate