Hello, I am new to n-tier architecture and trying to figure out the difference between what the application server does, which hosts the application code layer, and what does the web service do?
So, I will tell you how I understand the whole concept of the n-level, we have a user interface β Web server β business logic / application on the application server β Database server. (Of course, load balancers and multiple server instances will also exist to consolidate and maintain the state of the processes)
But to be specific, the level of business logic will not be tied to the user interface, so it is more or less independent and can be reused.
A web service, on the other hand, also provides functionality similar to business logic, where it is not tied to a user interface and can be reused for different occasions.
Can someone explain if I explained correctly above? And, as I mentioned earlier, I'm new to this, so if that sounds silly or naive, please don't bash me :)
web-services service business-logic n-tier-architecture
macha
source share