JDBC Architecture
The JDBC architecture specifies how Java applications connect with the JDBC API and Database drivers to execute database operations including connection, querying and updating a relational database.
2-Tier and 3-Tier Architecture
Two-Tier Architecture
- Java application communicates directly with the database.
- Uses JDBC API and JDBC Driver.
Java Application → JDBC API → JDBC Driver → Database
Use Case: Standalone apps or simple desktop applications.
Three-Tier Architecture
- Introduces middleware as an application server positioned between the client and the database.
- The client application sends requests to middleware which then uses JDBC to interact with the database.
Java Application → Middleware (App Server) → JDBC API → JDBC Driver → Database
Use Case: Enterprise-level web applications require scalable solutions to meet their security demands and business logic requirements.
Quickly Find What You Are Looking For
OnlineTpoint is a website that is meant to offer basic knowledge, practice and learning materials. Though all the examples have been tested and verified, we cannot ensure the correctness or completeness of all the information on our website. All contents published on this website are subject to copyright and are owned by OnlineTpoint. By using this website, you agree that you have read and understood our Terms of Use, Cookie Policy and Privacy Policy.
point.com