Quick revision
The short answer
Decide with evidence rather than taste. Compare what the generator produces against our platform standards for security, observability and deployment, compare that with the cost of maintaining our own templates in a custom Spring Initializr or Backstage, and check the generator's community activity and release cadence. Remember that any generator only helps on the first day, because code drifts afterwards, so plan ongoing alignment either way. Then pilot the favoured option with a few teams before making it the standard.
What to remember
In this answer, we decided between an external generator and our own templates as a platform choice. We compared generated output against our standards for security, observability and deployment, weighed the maintenance cost of a custom Spring Initializr or Backstage templates, planned for drift after creation with starters, the BOM, OpenRewrite and conformance checks, assessed the generator's community and release cadence, and ran a pilot with a few teams to decide on evidence.
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.
Decide with evidence rather than taste. Compare what the generator produces against our platform standards for security, observability and deployment, compare that with the cost of maintaining our own templates in a custom Spring Initializr or Backstage, and check the generator's community activity and release cadence. Remember that any generator only helps on the first day, because code drifts afterwards, so plan ongoing alignment either way. Then pilot the favoured option with a few teams before making it the standard.
Why this question is asked
A standard starting point for new services shapes hundreds of codebases for years, so choosing it is a platform decision, not a team preference. An external generator such as JHipster offers a lot for free; our own templates fit the company exactly but must be built and maintained. Interviewers ask this leadership question to see whether we can frame the decision, compare real costs, and avoid locking the company into a choice that looked good in a demo. In this answer, we will compare generated content with our standards, look at what owning templates costs, address drift after creation, assess the generator's health, and close with a pilot that decides.
1Compare the Output With Our Platform Standards
The first test is concrete: generate a typical service with the candidate generator and check it against our standards, one by one. For security, we want to know whether it uses our identity provider and token format, or creates its own user tables and signs its own JWTs. For observability, we check whether it logs in our structured format, propagates trace context through OpenTelemetry and exposes the metrics our dashboards expect. For deployment, we look at whether it fits our image build, Helm charts and pipeline, or brings its own Docker and CI files that every team would then have to replace.
For a generator like JHipster, the answer is often mixed. It generates a lot that we would not standardise, such as an admin UI, user management and a front end, while the parts we care most about, security integration, observability and deployment, still need to be replaced or adjusted. Each replacement is work every team repeats unless we automate it.
| Standard | JHipster output | Own template | Gap if we use the generator |
|---|---|---|---|
| Identity provider (OIDC) | supported, needs config | built in | small: config per service |
| Structured logs + tracing | partly, own conventions | built in | medium: replace logging setup |
| Image build and Helm chart | own Docker files | built in | large: replace on every service |
| Front end | full SPA generated | none (separate repos) | remove unused code |
| Entity CRUD scaffolding | excellent via JDL | none | none: a real benefit |
2What Owning Templates Costs
Our own templates, built as a company Spring Initializr instance or as Backstage software templates, can produce exactly our standards: internal starters, the platform BOM, our pipeline and our chart. They fit the company's specifics in a way no external generator can.
But they are a product we must maintain. Someone must update them with every platform release, test the generated projects in CI, and answer questions. For a company with 30 or more teams starting several services a month, that is usually a fraction of one engineer's time and pays back quickly. For a company with three teams, an external generator or plain start.spring.io with a short checklist may be the better use of effort.
3Code Drifts After Creation, Whatever We Choose
It is easy to forget that a generator or template only acts once. From the day a service is created, its code changes with every commit, while the template changes with every platform release. After a year, the two have moved apart, and a standard change in the template does not reach the services created earlier.
So the decision must include ongoing alignment. The most effective tools are to keep standards inside versioned internal starters and the platform BOM, so upgrading one version delivers them; to roll out changes that need code edits with OpenRewrite recipes; and to check conformance in CI, for example that every service uses a supported BOM version. This is easier with our own templates, because they already use those starters. With JHipster, the generator's own upgrade process competes with our alignment changes, which adds merge conflicts.
- Created from generator or templatematches standards on day one
- Months of feature workcode and template move apart
- Platform releasenew BOM, starters, recipes
- Standard delivered by starter or BOM?YesUpgrade the version: doneNoApply an OpenRewrite recipe as a PR
- CI conformance checkflags services that fall behind
5 steps in order. Play them, or step through them one at a time.
Creation is one day; alignment is every day after it.
4Assess the Generator's Health
If we standardise on an external generator, its future becomes our future. We look at community activity, such as the number of active maintainers, how quickly issues and security problems are handled, and whether companies contribute. We look at release cadence: how soon after a new Spring Boot version it supports it, and how often major versions bring breaking changes in generated code. A generator that lags Spring Boot by six months forces us either to wait or to diverge.
We also consider the knowledge risk. A generator popular with our developers is easier to adopt; one that few people know becomes a dependency on the two engineers who understand it.
5Pilot Before Deciding
A decision on paper is a guess. A pilot turns it into evidence: two or three teams, ideally with different kinds of services, start real services with the favoured option, and perhaps one team with the alternative. Over six to eight weeks we measure time to first production deployment, how many platform checks failed on the first pipeline run, how much generated code was deleted or replaced, and what the teams say.
The results usually make the decision clear. For many companies, the outcome is a company template built on Spring Initializr for backend services, with internal starters carrying the standards, while generators like JHipster remain allowed for specific cases such as internal admin applications where their CRUD generation is a real benefit.
6Follow-up questions
Can we combine both, for example JHipster with our own blueprint?
JHipster supports blueprints, plugins that change what it generates, so a company can adapt its output to internal standards. That reduces the gaps, but the blueprint must be maintained against every JHipster release, so we are now maintaining a template and depending on a generator. It is worth it only if the generator's entity scaffolding is central to how teams work.
How would you present the decision to leadership?
As a short comparison with measured results from the pilot: setup time saved per service, platform conformance on first deployment, estimated yearly maintenance of each option, and the risks. Leadership mostly needs to know the expected benefit, the ongoing cost and who owns it.
What if teams resist the chosen standard?
Make the standard the easiest path, not only the rule: it should be faster than any alternative and supported by the platform team. Allow documented exceptions where a team has a real need, and review them; frequent exceptions are a signal that the template is missing something.
7Conclusion
In this answer, we decided between an external generator and our own templates as a platform choice. We compared generated output against our standards for security, observability and deployment, weighed the maintenance cost of a custom Spring Initializr or Backstage templates, planned for drift after creation with starters, the BOM, OpenRewrite and conformance checks, assessed the generator's community and release cadence, and ran a pilot with a few teams to decide on evidence.
Open with
I would treat it as a platform decision and decide it on evidence. First, I would generate a typical service with JHipster and compare it, standard by standard, with what we require for security, observability and deployment.
Then, if they want more
Usually it generates a lot we would not standardise, like a front end and user management, while our identity provider, logging and tracing conventions and image build and Helm chart still have to be replaced on every service.
Then I would compare that with the cost of our own templates, a custom Spring Initializr or Backstage templates, which fit our specifics exactly but need an owner and regular updates; for thirty teams that is clearly worth it, for three it may not be.
Third, whatever we pick only helps on day one, because code drifts afterwards, so I would plan alignment: standards in internal starters and the platform BOM, OpenRewrite recipes for code changes and CI conformance checks. Fourth, if we consider an external generator, I would check its community activity and how fast it follows new Spring Boot releases.
Finally I would pilot the favoured option with two or three teams for a couple of months, measure setup time and first-run conformance, and decide from that.
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 documentation below. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
- Official documentation
- Spring Boot reference
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 "Should your organisation use JHipster or a similar generator as the standard starting...": https://scrivio-interview-library.netlify.app/spring-boot/developer-experience/3091bb77bc/