0

I have developed a web application which has a GUI (Presentation tier), Servlet classes for processing data (Business Logic Layer) and a RDBMS (Data Tier). Now my application also provides an API for some of its functionality, so when i represent the architecture will the API b part of Business logic or Presentation tier?

Prim
  • 1,312
  • 5
  • 25
  • 51

1 Answers1

0

Q: Why must you consider the API a "tier"?

For the sake of argument, let's define a "tiers" as:

A structuring mechanism for the elements that make up the software solution

If you think about it this way, wouldn't your API cut across all three tiers (or at least across all of the tiers you've exposed with your API)?

paulsm4
  • 114,292
  • 17
  • 138
  • 190