阅读更多
1. What is "Apache Sling"?
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.
2. Discover Sling in 15 minutes
The Sling Launchpad is a ready-to-run Sling configuration, providing an embedded JCR content repository and web server, a selection of Sling components, documentation and examples.
The full functionality of Sling is available by loading additional Sling (or custom) OSGi bundles as needed, using the Launchpad's web-based OSGi management console.
3. Sling engin architecture
===========
===========
1. OSGi
OSGi - Open Service Gateway Initiative
http://searchnetworking.techtarget.com/definition/OSGi
OSGi (Open Service Gateway Initiative) is a Java framework for developing and deploying modular software programs and libraries.
OSGi has two parts. The first part is a specification for modular components called bundles, which are commonly referred to as plug-ins. The specification defines an infrastructure for a bundle's life cycle and determines how bundles will interact. The second part of OSGi is a Java Virtual Machine (JVM)-level service registry that bundles can use to publish, discover and bind to services in a service-oriented architecture (SOA).
【OSGI】1.初识OSGI-到底什么是OSGI
http://www.javaworld.com/article/2077837/application-development/java-se-hello-osgi-part-1-bundles-for-beginners.html
2. JCR
JCR - Java Content Repository
3. Maven Sling Plugin
Maven-Sling-Plugin
sling:resourceType
https://en.wikipedia.org/wiki/Content_repository_API_for_Java
=
Shadow Sock
-
http://trial.ssbit.win/?from=ruanyifeng
https://blog-scottwang.rhcloud.com/post/author/scott
-
-