CASE 01 / MIGRATION / COMPATIBILITY / RELEASE
AEM 6.4 → 6.5. A platform migration.
An AEM 6.4 to 6.5 migration changes more than the runtime. This representative approach treats custom Java code, OSGi dependencies, repository content and Dispatcher behavior as one compatibility boundary, with evidence required before release.
Engineering path
The migration path
Proposed engineering sequence
- 01AEM 6.4
- 02Dependency audit
- 03Code remediation
- 04OSGi validation
- 05Dispatcher / Oak validation
- 06Release readiness
- 07AEM 6.5
01 / Context
Define the 6.5 compatibility baseline
- PLATFORM
- AEM 6.4
- TARGET
- AEM 6.5
- FOCUS
- Migration / modernization
- SCOPE
- Application · OSGi · Dispatcher · repository
- TYPE
- Representative engineering scenario
Start with an inventory of the source installation and a declared target baseline. Record custom bundles, integrations, content packages, indexes and delivery configuration so regressions can be compared against a known starting point.
02 / THE ENGINEERING PROBLEM
A successful startup does not prove application compatibility
A bundle can resolve while a component still renders incorrectly or a workflow fails against migrated content. The upgrade assessment needs to include behavior that package installation alone cannot verify.
- List deprecated API references and third-party dependency constraints.
- Identify representative authoring journeys, integrations and content types.
- Separate existing defects from changes introduced by the upgrade.
03 / CONSTRAINTS
Boundaries the design must preserve
- Preserve existing component, authoring and integration behavior while changing the platform baseline.
- Align custom dependencies with the selected target; do not treat compilation as runtime evidence.
- Keep code, content and repository changes identifiable and independently reviewable.
- Validate Author, Publish and Dispatcher together, including cache invalidation.
- Define a controlled release window and rehearse recovery before considering production rollout.
04 / ARCHITECTURE
Validate Author, Publish and Dispatcher as one path
Use a controlled test environment with representative content and the target application packages. Keep repository changes, code changes and delivery configuration identifiable so a failed request can be traced to the layer that changed.
Three boundaries. One readiness decision.
Proposed assessment lanes converge on retained acceptance evidence. The diagram describes a migration approach, not a recorded delivery.
Application
- Maven / API audit
- Code remediation
- OSGi services
Repository
- Content baseline
- Compatibility checks
- Oak query plans
Delivery
- Author / Publish
- Dispatcher rules
- Cache invalidation
Combined path
- Acceptance evidence
- Release readiness
- AEM 6.5 target
05 / IMPLEMENTATION
Build a compatibility matrix before the release rehearsal
For each custom feature, record the current behavior, compatibility finding, remediation and validation evidence. Review Maven dependency changes and OSGi resolution together, then test content access and rendering on the target baseline.
- Remediate deprecated APIs with behavior-focused tests.
- Review Oak query plans for representative repository reads.
- Exercise publication, cache invalidation and cached page delivery.
Remediate, then prove the boundary
Keep functional redesign outside the migration release so a regression can be attributed to a specific change.
- 01Inventory bundles, packages, APIs and integrations against the source baseline.
- 02Align Maven dependencies and replace deprecated API usage with behavior-focused tests.
- 03Inspect bundle imports, service references and configuration on the target runtime.
- 04Compare content access, rendering and authoring journeys with the original behavior.
- 05Review representative Oak query plans and test cold, warm and invalidated Dispatcher responses.
- 06Rehearse package deployment and recovery; retain findings for the go/no-go review.
06 / TECHNICAL DECISIONS
Keep functional redesign outside the migration boundary
The proposed release keeps feature behavior stable while resolving compatibility gaps. This makes a failure easier to attribute than a release combining a runtime upgrade, content-model redesign and unrelated UI work.
07 / TRADEOFFS
A narrow release still needs broad regression coverage
Deferring features reduces variables but does not remove integration risk. A rollback decision must consider repository and content state as well as application packages; deploying old code is not a complete recovery plan.
| Risk | Impact | Mitigation to validate |
|---|---|---|
| Dependency or service-reference mismatch | Unresolved bundle or unavailable service | Review imports and reference targets; exercise activation and configuration changes |
| Existing content exposes a rendering regression | Authoring or published output differs | Compare representative content and journeys with the source baseline |
| Cache conceals an application defect | Warm response passes while uncached rendering fails | Check cold, warm and invalidated requests through Dispatcher |
| Query plan changes | Repository reads may traverse or slow down | Inspect representative plans and index coverage on target content |
| Rollback restores only code | Repository/content state remains incompatible | Rehearse a recovery plan covering packages, content and repository state |
For the next runtime assessment, distinguish this release from AEM 6.5 LTS compatibility and modernization.
08 / VALIDATION
Define evidence for a go/no-go decision
Use a release checklist with expected behavior and retained results rather than claiming readiness from an installation log.
- Compare representative rendered pages and authoring actions against the source baseline.
- Check bundle resolution, service activation, query plans and application logs.
- Rehearse publication, integration failure behavior and recovery in a non-production environment.
Acceptance checks and evidence boundaries
TO VALIDATE
No captured migration test results accompany this scenario.
- Bundle resolution, service activation and configuration behavior
- Representative components, authoring and repository content
- Oak index selection and integration failure handling
- Dispatcher cold/warm responses and invalidation
- Deployment rehearsal and content-aware recovery
DOES NOT CLAIM
A proposed checklist is not a passing test report.
- Verified client delivery or completed production rollout
- Measured performance gains or benchmark results
- A universal runtime/dependency compatibility guarantee
- AEM 6.5 LTS or AEMaaCS readiness
09 / FAILURE MODES
Failure modes to test before release
A warm Dispatcher cache can conceal a Publish rendering regression after the upgrade. Validate a cold request, a warm hit and publication-driven invalidation separately. If repository state changed, prove recovery with a restore rehearsal instead of assuming an older application package is a rollback.
10 / LESSONS LEARNED
Treat migration as a compatibility argument
The useful deliverable is an explanation of what changed and why the remaining risk is acceptable. No measured production outcome or completed client rollout is asserted here.
11 / ENGINEERING VALUE
Engineering value sought
The engineering value sought is a reviewable compatibility record: each change connected to a regression check, each unresolved risk assigned a release decision, and recovery considered alongside content state. This representative scenario reports no completed rollout or measured production improvement.
Technical references
These sources document product behavior. The scenario and proposed validation are engineering interpretations, not vendor claims or execution evidence.