AEM is build on an open-source Restful Web framework i.e. Sling. Resources are piece of content on which Sling acts i.e. /apps, /content all are resource in terms of Sling Framework. So to get the resource java object, ResourceResolver API helps you in it.
There are various ways you can create the ...