authors visitors
│ │
▼ ▼
┌─────────────────┐ publish ┌──────────────┐ ┌──────────────────────┐
│ Author instance │ ───────────► │ Publish │◄─│ Live cache │
│ :4502 │ │ instance(s) │ │ Apache httpd + │
│ │ │ :4503 │─►│ studio-live :4520 │
└────────┬────────┘ └──────┬───────┘ └──────────────────────┘
│ │ flush
media service media service
:4510 :4511The author and publish instances are the same software, started in a different run mode with a different set of packages.
An instance is an OSGi container (Apache Felix) running Apache Sling on a Jackrabbit Oak repository. Sensible Studio adds bundles and content to it:
| Layer | What it is |
|---|---|
| Repository | Jackrabbit Oak with the segment store (TarMK): one tree of nodes for content, code, configuration and users. |
| Sling | Resolves an address to a node and a node to a script; Sling Models; HTL. |
| The AEM API | The com.day.cq.*, com.adobe.cq.* and Granite packages a project's bundles import, implemented on Sling and Oak. See Run an existing AEM project. |
| The features | Publishing, releases, sync, flows, translation, content fragments, forms, personalization, media: each a bundle with its servlets under /bin/studio/…. |
| The authoring interface | A single-page application (React, TypeScript) served from /libs/studio. It reads the same dialog, template and policy definitions that AEM's interface reads. |
A visitor asks for https://www.example.com/us/en/magazine.html.
/content/wknd/us/en/magazine.html and looks for that file in the site's document root. If it is there, Apache serves it and nothing else is involved.sling:resourceType, and finds the component's script under /apps.When the page is published again, the publish instance tells the cache, which removes that file and the files of the pages that show it. See The Live cache.
Publishing packs the page's content and binaries, sends them over HTTP to each publish instance's /bin/receive, and installs them there. Each target has a queue that retries until the instance answers. See Publishing targets.
| Folder | What it holds |
|---|---|
bin/ | studio, studio-publish, studio-live: build, set up, start and stop. |
studio-core/ | The repository, Sling and HTL base. |
studio-adapter/ | Reads AEM's authoring definitions: dialogs, edit configurations, responsive grid. |
studio-uberjar/ | The AEM API (studio-cq-api, studio-cq-impl) and the feature bundles: studio-auth, studio-dam, studio-forms, studio-health, studio-launches, studio-linkchecker, studio-personalization, studio-replication, studio-security, studio-siterail, studio-tagging, studio-workflow. Also studio-compat-config (OSGi configuration), studio-compat-content (content packages) and studio-compat-scanner (a tool). |
studio-cfm/ | Content fragments, their models, GraphQL. |
studio-translation/ | Translation jobs, providers, translation memory. |
studio-authoring-content/ | Content the authoring interface needs in the repository. |
studio-quickstart/ | The launcher jar that starts an instance. |
author-ui/ | The authoring interface. |
dam-service/ | The media service (Rust). |
live-service/ | The Live cache (Rust), its Apache configuration, and the files for a server. |
docs/ | This documentation: Markdown in docs/content, and the script that builds it into a site. |
instances/ | The running instances: repositories, logs, install folders. Not in git. |
The product is Sensible Studio and the one technical token is studio: Java packages io.sensible.studio.*, modules studio-*, the JCR namespace studio:, servlets under /bin/studio/, repository paths /var/studio and /libs/studio, headers X-Studio-*, environment variables STUDIO_*.