Hi all, I'm new to Sling and I have a question about accessing resources. I have followed *Discover Sling in 15 minutes - the Sling Launchpad [1] *tutorial. I would like to know if there is a direct method (may be by Sling API) to do what is done by curl in the tutorial (e.g. creating nodes), programmatically without going for servlets. I mean just using a simple java class?
I found a similar thing in *Getting Resources and Properties in Sling [2]*. But I don't understand how to get a ResourceResolverFactory object in 'Within an OSGI Service/Compoment' part. Help is greatly appreciated. Thank you. Regards, -Bhathiya [1] http://sling.apache.org/site/discover-sling-in-15-minutes.html [2] http://sling.apache.org/site/getting-resources-and-properties-in-sling.html
