Quick revision
The short answer
I would not migrate them all by default. Dropwizard is still maintained, so there is no forced deadline, and the decision should rest on the cost of running two stacks and on each service's rate of change. Services that rarely change stay on Dropwizard, kept on supported versions. Services under active development, or that need features only the main Spring Boot platform provides, become migration candidates. Meanwhile, shared concerns such as authentication, metrics and configuration follow standard protocols so both stacks work together, and each migration is protected by tests on the HTTP contract, because Jersey and Spring MVC differ in their defaults.
What to remember
In this answer, we saw that migrating 60 Dropwizard services is a portfolio decision. Dropwizard is still maintained, so there is no deadline, and we decide per service from the cost of running two stacks, its change rate and its need for Spring-only platform features. Rarely changed services stay on supported versions, actively developed ones become candidates, shared concerns use standard protocols so both stacks interoperate, and each migration is protected by contract tests because Jersey and Spring MVC have different defaults.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
I would not migrate them all by default. Dropwizard is still maintained, so there is no forced deadline, and the decision should rest on the cost of running two stacks and on each service's rate of change. Services that rarely change stay on Dropwizard, kept on supported versions. Services under active development, or that need features only the main Spring Boot platform provides, become migration candidates. Meanwhile, shared concerns such as authentication, metrics and configuration follow standard protocols so both stacks work together, and each migration is protected by tests on the HTTP contract, because Jersey and Spring MVC differ in their defaults.
Why this question is asked
Companies that adopted Dropwizard early often end up with two Java stacks: a large group of older Dropwizard services and newer services on Spring Boot. The natural instinct is to unify, but migrating 60 services is a large investment that delivers no features by itself. Interviewers ask this leadership question to see whether we can make a portfolio decision with data, rather than a uniform rule. In this answer, we will look at what two stacks really cost, how to sort services by change rate and need, how to make the stacks interoperate, how to migrate the chosen ones safely, and how to track the decision over time.
1What Running Two Stacks Really Costs
Two stacks cost something in several places. The platform team must maintain two sets of libraries for logging, metrics, tracing, authentication and configuration, and upgrade both. Engineers who move between teams must know both frameworks. Security patches have to be tracked for two dependency trees. New platform features, such as a standard tracing setup or a new secrets integration, are built twice or only for Spring Boot, leaving Dropwizard services behind.
It is worth putting rough numbers on it. If keeping the Dropwizard side current takes one platform engineer a third of their time, plus a few days per service per year for upgrades, that is a known annual cost. A migration might cost two to four engineer-weeks per service. Comparing these per service, rather than for all 60 at once, already shows that some migrations pay back quickly and others never do.
2Sorting Services by Change Rate and Need
The most useful single fact about a service is how often it changes. A service that had three commits last year and runs reliably gains almost nothing from a new framework, and every migration carries risk. A service that gets weekly feature work pays the cost of the older stack every week, in onboarding, missing platform features and slower development.
The second fact is need. Some services need capabilities the main platform provides in Spring Boot only, for example a standard integration with the company's event platform, a security module or a library that has no Dropwizard counterpart. For those, staying on Dropwizard means building and maintaining a parallel integration, which shifts the balance towards migration.
| Change rate | Needs Spring-only platform features? | Decision |
|---|---|---|
| Low | No | Stay; keep Dropwizard on supported versions |
| Low | Yes | Migrate when the need becomes concrete |
| High | No | Migration candidate; schedule with feature work |
| High | Yes | Migrate first |
| Planned for retirement | any | Stay until retired; minimal upkeep |
3Making Both Stacks Interoperate
Because the transition may last years, and some services may never move, the two stacks must work together cleanly. The way to achieve that is to standardise on protocols rather than on frameworks. Authentication uses standard tokens, such as OAuth 2.0 access tokens in JWT format validated against the same issuer, so a Dropwizard service and a Spring Boot service accept the same calls. Metrics are exported in a common format, for example through Micrometer or a Prometheus endpoint, with the same naming conventions, so dashboards and alerts do not care about the framework. Tracing propagates W3C Trace Context headers, so a request can be followed across both. Configuration comes from the same sources, environment variables and the secret manager, in both.
Once these standards exist, the framework becomes an internal detail of each service. That reduces the cost of running two stacks considerably and removes the pressure to migrate services that do not need it.
- Clients and other servicesdo not know which framework a service uses
- ProtocolsOAuth 2.0 tokens, W3C Trace Context, HTTP and JSON conventions
- Operationssame metrics format and names, same log format, same health checks
- Configurationenvironment variables and secret manager in both
- FrameworksDropwizard services and Spring Boot services side by side
5 layers, from the top down. Step through them one at a time.
Standardise the edges; the framework inside a service then matters much less.
4Migrating the Chosen Services Safely
For a service we do migrate, the contract with its clients must not change by accident. Jersey and Spring MVC differ in many small defaults: the format of validation errors, the status code for an unsupported media type, how trailing slashes are matched, how dates are serialised by each framework's ObjectMapper configuration, and what happens to unknown JSON properties. Any of these can break a client.
So we record the current behaviour first, as contract tests that run against the Dropwizard version, then build the Spring Boot version until the same tests pass. Notice the example: Dropwizard reports bean validation failures with 422 by default, while Spring MVC typically returns 400 with a different body. Neither is wrong, but changing it silently breaks clients. Migration then follows the usual pattern for a risky deployment: a canary, comparison of metrics, and the option to route traffic back.
5Revisiting the Decision
A portfolio decision should be reviewed, not made once. Once a year we look at each Dropwizard service's change rate, the cost of keeping the stack current and the state of the Dropwizard project itself. If the project's maintenance slowed significantly, or the number of remaining services dropped so low that keeping the platform support became disproportionate, we would plan to migrate the rest. Until then, the default for new services is Spring Boot, the Dropwizard services that change rarely stay, and migration effort goes where it pays back.
6Follow-up questions
Would you allow new features in Dropwizard services?
Yes. Blocking features would force rushed migrations. But if a service is about to receive a large new feature, that is a good moment to consider migrating it first, because the team will be working in the code anyway.
How do you keep the Dropwizard services secure if they are not migrated?
By keeping them on supported Dropwizard versions through the same upgrade routine as everything else: a platform BOM, automated pull requests and a cadence. A service that stays must not become a service that is frozen.
Is a strangler approach useful here?
For a large Dropwizard service, yes: a router or gateway sends some endpoints to a new Spring Boot service while the rest stay, and endpoints move one by one behind contract tests. For small services, a direct rewrite with contract tests is usually simpler.
7Conclusion
In this answer, we saw that migrating 60 Dropwizard services is a portfolio decision. Dropwizard is still maintained, so there is no deadline, and we decide per service from the cost of running two stacks, its change rate and its need for Spring-only platform features. Rarely changed services stay on supported versions, actively developed ones become candidates, shared concerns use standard protocols so both stacks interoperate, and each migration is protected by contract tests because Jersey and Spring MVC have different defaults.
Open with
I would not decide for all 60 at once. Dropwizard is still maintained, so nothing forces a deadline, and a migration delivers no features by itself. The question is per service: what does running the second stack cost us, and how often does this service change?
Then, if they want more
I would estimate the yearly cost of keeping Dropwizard supported, platform libraries, upgrades, onboarding, and compare it with a few engineer-weeks per migration. Services that rarely change and work well stay, but on supported versions through our normal upgrade routine.
Services with active development, or that need features our platform only provides for Spring Boot, become candidates, ideally migrated when a big feature is coming anyway.
During what may be a long transition, I would standardise the edges rather than the frameworks: OAuth tokens from the same issuer, the same metrics format and names, W3C trace headers and the same configuration sources, so both stacks interoperate and clients cannot tell the difference.
For each migration I would record the existing HTTP behaviour as contract tests first, because Jersey and Spring MVC differ in defaults, for example 422 versus 400 for validation errors, and make the new service pass them before a canary rollout. And I would revisit the portfolio once a year.
About this answer
- Last updated
- 12 November 2026
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the official documentation for the version you use. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "Your company has 60 Dropwizard services built since 2014 and new services are written in...": https://scrivio-interview-library.netlify.app/java/dropwizard/83da8cdf35/