The real challenge in legacy modernisation isn't the code
Most modernisation programmes stall on undocumented business rules, dependencies and ownership — not on the technology itself.
AO Group
Editorial team

Legacy systems are often described as a technology problem.
COBOL.
Old Java.
Unsupported frameworks.
On-premise servers.
Monolithic architectures.
Outdated databases.
These things matter.
But they are rarely the hardest part of modernisation.
The difficult part is understanding everything the old system has learned about the business.
A legacy system is accumulated institutional knowledge
A system that has operated for twenty years contains twenty years of decisions.
Some were documented.
Many were not.
A particular field exists because of a regulation introduced twelve years ago.
An integration behaves strangely because a partner system once had a limitation.
A calculation contains an exception because of a product the business stopped selling in 2018 — except three thousand customers still have it.
A manual process exists because two systems never integrated properly.
An obscure database table turns out to be essential to month-end reporting.
This is why simply rewriting old code in a new language can be dangerous.
You can reproduce the syntax without understanding the business.
The first job is discovery
Before modernisation comes understanding.
What does the system actually do?
Which applications depend on it?
Which data moves through it?
Which processes are automated?
Which remain manual?
Which integrations are critical?
Which rules still matter?
Which can disappear?
Where is business logic duplicated?
Where are the undocumented dependencies?
Traditionally, answering these questions can require months of workshops, code analysis, documentation reviews and interviews with people who may themselves only understand part of the system.
This is one of the areas where AI-enabled engineering tools can materially improve the process.
AI can help us understand before we rebuild
Modern analysis tools can examine large codebases far more rapidly than a human team working manually.
They can help identify dependencies, map components, trace data structures, discover repeated logic and assist in generating documentation.
At AO, this is how we think about AI in legacy modernisation.
Not as a magic button that converts an old application into a new one.
As an accelerator for understanding.
That distinction matters.
Because good modernisation starts with a model of the current environment.
Don't modernise everything
Another common mistake is assuming every feature of the old system deserves to survive.
It doesn't.
Legacy platforms often contain processes that exist because of historical constraints that no longer apply.
Modernisation creates an opportunity to ask:
Why does this process exist?
Why does it require these approvals?
Why is this data captured twice?
Why is this report produced manually?
Why does this integration work this way?
Could the process disappear entirely?
Could automation remove it?
Could a standard platform perform this function better?
Modernisation should not be archaeology for archaeology's sake.
The goal is not to preserve the past perfectly.
The goal is to understand it well enough to design the future intelligently.
Architecture comes before generation
Once the existing environment is understood, the organisation can design the target architecture.
What should the new system do?
Which capabilities should remain custom?
Which should be purchased?
What should become services?
How should data be structured?
What should integration look like?
What security model is required?
Where should workloads run?
What level of resilience does the business actually need?
This is where model-driven architecture can become particularly powerful.
Once the system has been deliberately modelled, automation can increasingly generate significant portions of the underlying implementation.
The speed gain can be substantial.
But the sequence is important.
Understand. Architect. Generate. Validate.
Not:
Generate and hope.
Data is usually waiting for you
Even when the application has been redesigned perfectly, the old data remains.
Years of customers.
Transactions.
Products.
Documents.
Audit histories.
Configuration.
Duplicates.
Missing values.
Inconsistent formats.
Legacy identifiers.
Data migration is therefore not a final technical task to be left until the end.
It is a core workstream of modernisation.
AI-enabled migration tools can help identify mappings and anomalies, but business meaning still needs to be understood and validated.
The hardest dependency may be human
There is another legacy system that doesn't appear in architecture diagrams.
Institutional knowledge.
The person who has maintained the application for fifteen years may understand behaviours nobody has documented.
Operations teams may have built processes around limitations developers don't know exist.
Finance may depend on a report technology believes nobody uses.
Modernisation therefore requires conversations as much as code.
The objective isn't newer technology
A successful modernisation project isn't successful because the application now runs in the cloud or uses a fashionable framework.
It succeeds because the organisation is left with something easier to change.
Easier to integrate.
Easier to secure.
Easier to understand.
Easier to operate.
And better aligned to the business it now serves.
The code matters.
But by the time you start writing the new code, many of the most important decisions should already have been made.
Planning something like this?
Book a Discovery Call with the AO team and we will work through it with you.
Related from AO

Engineering the digital foundations: AO Group's 2035 view
AI may change how we build, bank, work and make decisions. But the digital future still depends on something remarkably physical: more software, more data, more infrastructure and more energy — built around human needs that have changed far less than our technology.

Build, buy or modernise?
The right answer depends on where the differentiation lies, what the current system still does well, and what the organisation can operate.

Why the world will need more code, not less
Automation raises the ceiling on what organisations attempt. AO Group's view on why demand for well-engineered software keeps growing.
