After splitting permit-review and fee-calculation into separate processes, developers propose a shared internal JAR of domain types so each side can call the other like a local method. What integration approach should replace that hidden coupling?
Select an answer to reveal the explanation.
Short Explanation
Once processes are separate, talk is a published letter—not rummaging through a shared desk drawer of types. Explicit network contracts stay versionable. Shared-kernel JARs smuggle compile-time coupling back in.
Full Explanation
Separate processes collaborate through documented request/response or event contracts, typically over HTTP-style APIs. Hidden shared libraries of domain types recreate compile-time coupling and force lockstep releases. JNI heap tricks and private source imports worsen that coupling. API Gateway policy design is out of scope here.