Reputation: 127
I am in the process of learning about microservices and there's one thing that I can't seem to figure out and I can't find any resources that give me a direct answer to this. The question is:
Do microservices involve only business logic and database interactions or do they involve UI components like JS, CSS, HTML as well ?
Upvotes: 3
Views: 546
Reputation: 71
There really isn't a notion of what tiers are included in a microservice itself, however generally speaking, when referring to microservices most of the time you're referring to some back end based app. That begin said - there are companies out there - two that I've talked to directly that are building "microapps" - basically the backend service, facade and a portlet like interface that can be plugged into a federated portal through a layer of orchestration.
For the Java folks - think fully encapsulated JSR-268 like components that are run as independent processes running within a portal itself.
Upvotes: 1
Reputation: 1079
A microservice can be a complete application including its own UI, business logic and data.
Upvotes: 0