Skip to content

Is Java now part of the architecture contract? ​

Elevator answer ​

Java runs TPF’s single execution engine; it is no longer the only language you can write business steps in. TypeScript, Python, PHP, and Spring Boot services can host plain typed functions behind one durable engine—without installing a JDK to develop locally or re-implementing TPF five times.

3 coffee-machine misconceptions

Microservice Mike

“One language is one architecture.”

Consultant Nigel

“Every service needs a different runtime.”

Consultant Nigel

“Portable means identical everywhere.”

The real explanation ​

Re-implementing a durable execution engine in every language is how one framework quietly becomes five subtly different ones. Retries, streaming backpressure, deterministic split-and-merge lineage, durable waits, effect reconciliation, and crash recovery are hard enough to keep honest once. Writing them again in Node, Python, PHP, and Spring Boot is a maintenance tax disguised as inclusivity.

TPF splits the job instead. One canonical execution engine owns the imperative shell—distributed in production, and packaged as a standalone native CLI for local development so TypeScript, Python, and PHP teams never have to install a JDK, Maven, or Docker just to run a flow or survive a crash. Business steps and custom connectors live in thin, authenticated foreign hosts written in ordinary TypeScript, Python, PHP, or Spring Boot.

That means a TypeScript team writes plain async functions and generators with exact 64-bit integer and decimal handling, a Python team writes plain typed functions with Decimal and pytest, and a PHP team writes readonly value classes and generators tested with PHPUnit. One pipeline can even mix Quarkus, Spring Boot, TypeScript, Python, and PHP steps, alongside built-in connectors that keep credentials inside the engine, language-native custom connector hosts for proprietary SDKs, and distributed JVM connectors where the Java ecosystem actually earns its keep.

The scope is still honest. Supporting a language well means typed contract generation, exact numeric fidelity, streaming backpressure, and real crash-recovery evidence—not waving at JSON over HTTP and calling it polyglot. Languages outside the supported host set, such as Go or Rust today, can still meet a pipeline at a declared HTTP, gRPC, or connector boundary, or speak the same thin host contract.

Trade-offs ​

TPF gains one consistent execution engine across languages without cross-runtime drift. It gives up in-process zero-hop execution inside non-Quarkus runtimes and enforces an explicit authenticated boundary between pure business functions, custom connectors, and durable stores.

When TPF is not a good fit ​

If a single-language service cannot tolerate a local or network host hop for microsecond-sensitive work, or wants only a small in-process library with no separate engine, choose a native tool in that language.

Diagram