Because some code is worth a thousand words...
The examples provided by the project also serve as integration tests and therefore they should always work and be relatively up-to-date. The bundles in this folder showcase how the
org.apache.sling.servlets.resolver 2.7.0 and above works to allow rendering using bundled scripts.
All the test endpoints will be in the resource tree under the
All the servlets registered by the Apache Sling Servltes Resolver will have their providers registered in the
/apps/org.apache.sling .scripting.examplebundle.* and