I have the following queries for a
J2EE application. Appreciate your inputs on these.
1. What is the difference between Layer and Tier?
2. If we deploy the whole application like
JSP, HTML,
Servlets, Business Logic (POJOs), DAOs etc in one jar file, can we say that it uses multi-tier architecture or it is just one tier?
3. Does the definition of tier bound to the number of different servers the components deployed to? For Example, Servlets/JSP deployed to web server - Presentation Tier, Business Logic on App Server - Business Tier, Legacy DB - Data Tier? Or it is irrespective of the number of servers the application is deployed to?