4 ms·
You write all the same code as you would your microservice, you just don't bother exposing the public methods over a network protocol, you just import them wher
by Tabular-Iceberg 5y ago
You write all the same code as you would your microservice, you just don't bother exposing the public methods over a network protocol, you just import them where you want to use them.
- jmchuster 5y agoI don't expose the public method of my HTML file over a network protocol? Again, are we talking about the same thing?
- Tabular-Iceberg 5y agoMicroservices are typically thought to be standalone applications that only cover part of the business domain, and then communicate with other services over things like JSON HTTP APIs, message queues, RPC calls, etc. In a monolithic architecture these would run in the same address space, be separated into modules by the language's own means of abstraction, and the communication between them would be done by function or method calls. I don't see what HTML files have to do with it, what do you think microservices are?