Skip to content

Do I have to replace Spring Boot to get any value? ​

Elevator answer ​

No. Keep Spring Boot hosting your beans, controllers, Spring Data, and security. Pick the one service method that loads three rows, calls two APIs, retries one, and waits on a callback, then expose it to TPF’s execution engine through a thin Spring host starter—not a rewrite.

3 coffee-machine misconceptions

Spring Sam

“If a new framework arrives, immediately delete every starter and begin a fasting migration.”

Platform Priya

“Two runtime concerns cannot coexist; one must win a ceremonial dependency-resolution duel.”

Consultant Nigel

“Call it transformation, schedule eighteen workshops, and prohibit the word incremental.”

The real explanation ​

Spring Boot can keep creating beans, loading configuration, exposing health endpoints, and hosting the controllers and repositories your runbook already knows. TPF is not asking the application to renounce starters and live in a YAML monastery—and it is not trying to rebuild a second, permanently behind-the-curve copy of its own execution engine inside Spring either.

Look for a concrete sore spot: PaymentService.process() loads an invoice and customer, asks a fraud API, charges a card, saves three status changes, then publishes Kafka—with retry annotations spread across two classes. Keep Spring Boot hosting the service, add the thin Spring host starter without dragging Quarkus or Mutiny onto your classpath, and separate the pure business methods on your @Service beans from the provider-facing reads and effects.

TPF’s single execution engine invokes those Spring beans across an authenticated host boundary—locally through the native CLI for crash-safe development, and distributed in production. Because Spring is not re-implementing TPF’s runtime, your Spring Boot flows inherit streaming, durable waits, effect reconciliation, and query replay without asking Spring to become a workflow engine.

The first slice should preserve the working edge and compare behaviour. If the old controller maps CardDeclinedException to 422, keep that promise until the team deliberately changes it. In production, keep pure business-function hosts separate from custom connector hosts that hold provider credentials, so a domain bean never quietly inherits an API key.

Coexistence is fine when it has a direction. Each new TPF capability should retire some old plumbing: a retry loop, mapper chain, orchestration service, polling table, or hand-written adapter. If migration only adds files and deletes nothing, it is not migrating. It is collecting architectures.

Trade-offs ​

Spring Boot keeps doing useful Spring work with no Quarkus or Mutiny leakage, while gaining TPF’s full durable execution model. The cost is running TPF’s engine beside Spring across an explicit host boundary and maintaining a deliberate seam while retiring old orchestration code.

When TPF is not a good fit ​

If the application is entirely local and Spring code already exposes every relevant contract clearly without retries, durable waits, or cross-boundary effects, migration may not earn its cost. Do not replace a stable framework—or add a runtime boundary—merely to make the technology list more interesting.

Diagram