Apache Sling 13 API
Apache Sling ™ is an innovative web framework that is intended to bring back the fun to web development.
Apache Sling in five bullets points
- REST based web framework
- Content-driven, using a JCR content repository
- Powered by OSGi
- Scripting inside, multiple languages (JSP, server-side javascript, Scala, etc.)
- Apache Open Source project
Apache Sling in a hundred words
Apache Sling is a web framework that uses a Java Content Repository, such as Apache Jackrabbit, to store and manage content.
Sling applications use either scripts or Java servlets, selected based on simple name conventions, to process HTTP requests in a RESTful way.
The embedded Apache Felix OSGi framework and console provide a dynamic runtime environment, where code and content bundles can be loaded, unloaded and reconfigured at runtime.
As the first web framework dedicated to JSR-170 Java Content Repositories, Sling makes it very simple to implement simple applications, while providing an enterprise-level framework for more complex applications.
JavaDoc generation
This documentation has been created using the generate_javadoc_for_release.sh script.
AuthUtil
class.MimeTypeService
service used by client to resolve MIME type information as well as the
MimeTypeProvider
service
interface for providers to extend the MIME type setup provided by the
MimeTypeService
.org.apache.sling.jcr.base
package provides basic support
to expose JCR repositories in Sling.org.apache.sling.jcr.base.spi
package provides a
way to bifurcate requests to subpaths to a mount provider.org.apache.sling.jcr.registration
package exports
the AbstractRegistrationSupport
class which may be extended by service exposing JCR Repository services
in any one non-OSGi registry such as RMI or JNDI.org.apache.sling.scripting.api.resource
package provides a unified API for scripting bundles that need to perform script
resolution across the Resource
space.org.apache.sling.scripting.sightly.compiler
package defines the API exposed by the
SightlyCompiler
.org.apache.sling.scripting.sightly.compiler.backend
defines the API that can be used by HTL Backend Compilers, used to
compile HTL Command
s into executable code for other languages.org.apache.sling.scripting.sightly.compiler.commands
package defines the API for
Command
processing.org.apache.sling.scripting.sightly.compiler.expression
package defines the API for
Expression
processing.org.apache.sling.scripting.sightly.compiler.expression.nodes
package exposes the various
ExpressionNode
types.