A Java App Development Company And The Monolith
Author : James Smith | Published On : 01 Dec 2026
Our Java App Development Company team had a plan to split the application into fourteen services. We got to three, stopped, and spent the next year making the remaining monolith modular instead.
That was the right call and it took some arguing. Here is what our Java App Development Company team learned.
Count what the split actually costs
Before the first service leaves.
Fourteen services means fourteen pipelines, fourteen sets of monitoring, fourteen deployment schedules, fourteen on call considerations, and a network call wherever a method call used to be.
Our three services consumed about a third of the team's capacity in operational overhead. Scaling that to fourteen would have consumed more than we had.
Separate the two problems people conflate
Which is where the monolithic vs microservices argument usually goes wrong.
One problem is that the code is tangled and nobody can change anything safely. The other is that the deployment is one unit, so everything ships together.
The first is a modularity problem and it can be solved inside a single deployable. Only the second requires separate services, and we had been treating them as one.
Draw the boundaries in the code first
Because you need them either way.
We defined modules with explicit interfaces, enforced by the build so a module cannot reach into another's internals.
That took about seven months. If we had split first, we would have drawn those boundaries across a network, found them wrong, and had a far more expensive correction.
Let the boundaries prove themselves
Before committing to them.
Two of our original fourteen boundaries turned out to be wrong, which we discovered because changes kept crossing them.
Moving a boundary inside a monolith is a refactor. Moving one between deployed services is a project with a migration plan.
Extract only where there is a reason
Not on principle.
Our three extracted services each had a specific justification. One scales differently from everything else. One has a separate compliance boundary. One is written by a different team on a different release cycle.
Those are reasons. Everything else stayed, and nothing about staying has cost us anything we can measure.
Keep the deployment boring
Which a monolith makes easier.
One artefact, one deployment, one rollback. Our release takes about eleven minutes and reverting takes four.
Our three services are collectively more work to release than the monolith is, which surprised everybody and should not have.
Watch the transaction boundaries
The thing that bites hardest after a split.
Operations that were one database transaction become several calls that can each fail independently.
Two of our three extractions needed compensating logic that did not exist before. That code is correct, well tested, and would simply not exist if the service had stayed.
Keep the build fast
Because a slow monolith build makes the case for splitting.
Ours was at twenty two minutes and people argued, reasonably, that smaller services would build faster.
We fixed the build instead. Our Docker Consulting Services partner reordered the image build and we parallelised the test suite, which took it to about five minutes and removed most of the argument.
Decide what would change your mind
Written down.
Ours states that we would extract a module when it needs to scale independently, has a different compliance position, or is owned by a team on a different cadence.
Nothing has met that test in two years. Having the criteria written means the question gets answered in ten minutes rather than reopened as a debate.
Be honest that this is unfashionable
Because it is.
A modular monolith does not sound like progress and it is harder to describe in a conference talk.
It is also the arrangement that let a team of our size ship reliably. Anybody comparing those two shapes should count the operational headcount each one assumes.
What we did instead of splitting
- Enforced module boundaries inside a single deployable.
- Interfaces that the build prevents other modules from bypassing.
- Extraction only where scaling, compliance, or team cadence requires it.
- A fast build, removing the strongest practical argument for splitting.
- Written criteria for what would justify a future extraction.
- One artefact, one deployment, one rollback path.
Common questions
Why stop at three services?
Operational overhead. Three consumed about a third of our capacity, and fourteen would have exceeded what we had.
Can a monolith be modular?
Ours is, enforced by the build. The tangle and the single deployable are two different problems, and only one needs services.
When should you extract?
Different scaling, a separate compliance boundary, or a different team cadence. Our Java App Development Company practice uses those three and nothing else.
What is the hidden cost of splitting?
Transaction boundaries. Two of our three extractions needed compensating logic that had not existed before.
Is a modular monolith a compromise?
It is an arrangement that suits a team of our size. Our Java App Development Company practice reaches for it more often than for a split.
Who should make the call?
The team that will operate it, counting the overhead. A Java App Development Company proposing fourteen services should state the operational headcount that assumes.
What did the build work involve?
Reordering the image build and parallelising the tests. Our Docker Consulting Services partner did the first and it took the argument away.
How many services did you keep?
Three, each with a specific reason. Nothing has met our extraction criteria in two years.
Does build time matter to this decision?
Considerably. Ours was twenty two minutes and fuelled the argument. At five minutes the argument mostly went away.
Where we are now
Three services with specific reasons, a modular monolith with enforced boundaries, a five minute build, an eleven minute deployment, and written criteria that nothing has met in two years.
The plan for fourteen services was a good plan for a larger team. We were not that team and nobody had checked.
