In a modern two-tier architecture, the server holds both the application and the data. The application resides on the server rather than the client, probably because the server will have more processing power and disk space than the PC.
In a three-tier architecture, the data and applications are split onto seperate servers, with the server-side distributed between a database server and an application server. The client is a front end, simply requesting and displaying data. Reason being that each server will be dedicated to processing either data or application requests, hence a more manageable system and less contention for resources will occur
RE: Difference between Two tier architecture and Three...
Two-tier architecture is a client/server architecture where a request to do some task is sent to the server and the server responds by performing the task.where as a three-tier or a multi tier architecture has client server and database. Where the client request is sent to the server and the server in turn sends the request to the database. The database sends back the information/data required to the server which inturn sends it to the client.
RE: Difference between Two tier architecture and Three...
Follwoing are the tier types in a client server application:
a. 1 tier application:All the processing is done on one machines and numbr of clients are attached to this machine (mainframe applications)
b. 2 tier application: Clients and data base on different machines.Clinets are thich clinets i.e. processing is done at client side.Application layer is on Clients.
c. 3 tier application.Client are partially thick.Apart from that there are two more layers application layer and database layer.
d. 4 tier application: Some clients may be totally non thick clients some cliints may be partally thick and further there are 3 layers web layer application layer and database layer.
RE: Difference between Two tier architecture and Three...
In a modern two-tier architecture the server holds both the application and the data. The application resides on the server rather than the client probably because the server will have more processing power and disk space than the PC.
In a three-tier architecture the data and applications are split onto seperate servers with the server-side distributed between a database server and an application server. The client is a front end simply requesting and displaying data. Reason being that each server will be dedicated to processing either data or application requests hence a more manageable system and less contention for resources will occur
RE: Difference between Two tier architecture and Three...
Hi Here is the ans.
Class Var: Those var. which are associated with the class. e.g. Static var. of any class are class var. They have same value for each object and only one copy of these var. is maitained for all the objects.
Class Myclass
{
Static int objectCounter;
}
In java they are initialized with the default value by the compiler and user can initialize them in static block
Member Var: Those var. which are associated with each object and have different value and different copy for each object. e.g.
RE: Difference between Two tier architecture and Three...
HI EVERYBODY
The difference between 2 tier and 3 tier are as follows:
1.In 2 tier there are only client and server at the other side in 3 tier there are client server and middle tier.
2. It's not good enough that your end-to-end performance be good it's also important that those machines service requests quickly which is where a two-tiered architecture fails (and which is why people came up with the idea of a three-tiered architecture in the first place). This is the difference between performance and scalability.