1.

What are the types of JDBC architecture?

Answer»

JDBC supports 2 types of processing MODELS to access the DATABASE. They are:

  • Two-tier Architecture: Here Java programs are explicitly connected with the database. It doesn’t require any MEDIATOR such as an application server for connecting with the database except the JDBC driver. It is also called client-server architecture.
  • Three-tier Architecture: It is the complete opposite of two-tier architecture. There will be no explicit communication between the JDBC driver or Java application and the database. It will make use of an application server as a mediator between them. Java CODE will send the request to an application server, then the server will send it to the database and receive the response from the database.


Discussion

No Comment Found