Please give me brief explanation of difference between connected and disconnected architecture.
Differentiate between connected and disconnected architecture.
1338
22-Jan-2020
Nishi Tiwari
22-Jan-2020Connection Oriented Architecture
The architecture which needs an open connection to access or fetech the data from the database is known as Connection-Oriented Architecture.
Following are the classes on which Connection Oriented Architecture is built on:
– Which is used to establish the connection between the front end and back end.
– Enables access to the database commands to return data, modify it, run the stored procedures, and send or retrieve parameter information.
– Used to read the data from the Source. Provides a high-performance to data from data source.
–Works as a Mediator between the front end and back end which doesn’t have the feature of containing data within this, so it uses Dataset which is also a result set.
– It also provides a bridge between DataSet and data source.
–Uses Command Objects to execute commands.
As Connected architecture must needs a connection for every transaction and so creates much traffic to the database since it does many trips. It shows a very high impact on the performance when the transaction will have many commands i.e. for larger transactions. If it is working with smaller transactions it will be normally much faster.
Disconnected Oriented Architecture
In this architecture data can be retrieved from the database even when the connection gets disconnected or closed then it is known as Disconnected Oriented Architecture.
Following are classes on which disconnected architecture is built on:
Difference between Connected and disconnected architecture
CONNECTED
It is connection oriented.
Connected gives faster performance.
Datareader is used as object
Connected can hold the data of single table only .
Connected we need to use a read only forward data reader.
Data Reader cannot persist the data.
It is Read only, so we can’t update the data.
DISCONNECTED
It is disconnection oriented.
Disconnected gives low in speed and performance.
DataSet is used as object .
Disconnected can hold data of multiple tables .
In Disconnected we cannot use this.
Data Set can persist the data .
We can update the data easily.