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.

SHARE
LinkedIn X Facebook Threads

Engineering path

The migration path

Proposed engineering sequence

  1. 01AEM 6.4
  2. 02Dependency audit
  3. 03Code remediation
  4. 04OSGi validation
  5. 05Dispatcher / Oak validation
  6. 06Release readiness
  7. 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

  1. Preserve existing component, authoring and integration behavior while changing the platform baseline.
  2. Align custom dependencies with the selected target; do not treat compilation as runtime evidence.
  3. Keep code, content and repository changes identifiable and independently reviewable.
  4. Validate Author, Publish and Dispatcher together, including cache invalidation.
  5. 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.

SYSTEM / FLOW

Three boundaries. One readiness decision.

Proposed assessment lanes converge on retained acceptance evidence. The diagram describes a migration approach, not a recorded delivery.

APPLICATIONMaven / API auditCode remediationOSGi servicesREPOSITORYContent baselineCompatibilitychecksOak query plansDELIVERYAuthor / PublishDispatcher rulesCacheinvalidationCOMBINED PATHAcceptanceevidenceRelease readinessAEM 6.5 target

Application

  1. Maven / API audit
  2. Code remediation
  3. OSGi services

Repository

  1. Content baseline
  2. Compatibility checks
  3. Oak query plans

Delivery

  1. Author / Publish
  2. Dispatcher rules
  3. Cache invalidation

Combined path

  1. Acceptance evidence
  2. Release readiness
  3. 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.

  1. 01Inventory bundles, packages, APIs and integrations against the source baseline.
  2. 02Align Maven dependencies and replace deprecated API usage with behavior-focused tests.
  3. 03Inspect bundle imports, service references and configuration on the target runtime.
  4. 04Compare content access, rendering and authoring journeys with the original behavior.
  5. 05Review representative Oak query plans and test cold, warm and invalidated Dispatcher responses.
  6. 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.

Keep residual risk explicit
RiskImpactMitigation to validate
Dependency or service-reference mismatchUnresolved bundle or unavailable serviceReview imports and reference targets; exercise activation and configuration changes
Existing content exposes a rendering regressionAuthoring or published output differsCompare representative content and journeys with the source baseline
Cache conceals an application defectWarm response passes while uncached rendering failsCheck cold, warm and invalidated requests through Dispatcher
Query plan changesRepository reads may traverse or slow downInspect representative plans and index coverage on target content
Rollback restores only codeRepository/content state remains incompatibleRehearse 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.

12 / CONTINUE EXPLORING

Related engineering work

Related Lab notes

13 / SHARE

SHARE THIS CASE STUDY

SHARE
LinkedIn X Facebook Threads

Working through a similar platform problem?

Start a conversation