Started learning Advanced Java, focusing on JDBC.

👋Hello Connections!! 🌟 Started My Advanced Java Learning Journey!!! I’m excited to share that I’ve officially started learning Advanced Java! 🚀 #Day1: Introduction to JDBC (Java Database Connectivity) Today, I learned about how Java applications communicate with databases using JDBC. It’s an API that allows Java programs to execute SQL queries and interact with databases seamlessly. 🧩 What is JDBC? → JDBC stands for Java Database Connectivity. → It Is an API which is used to connect Java applications with database application. → It consists of all the classes and interfaces required to connect with the databases. ⚠️Drawbacks Before JDBC: 1. No data security. 2. Difficult to insert and fetch data using files. 3. No relationship between data (causing redundancy and inconsistency). 4. Data stored in an unstructured format. 🧩 JDBC Drivers: → It Is a Software which is used to convert java application calls to database specific calls and vise versa. Architecture Of JDBC : Java Application ⬇️ JDBC API ⬇️ JDBC Driver Manager ⬇️ ⬇️ ⬇️ JDBC Driver JDBC Driver JDBC Driver ⬇️ ⬇️ ⬇️ Oracle DB SQL Server ODBC Data Server There are 4 types of JDBC drivers: 1️⃣ JDBC-ODBC Bridge Driver 2️⃣ Native API Driver 3️⃣ Network Protocol Driver 4️⃣ Thin Driver (Pure Java Driver) 📌 Steps to Connect with JDBC: 1️⃣ Loading The driver 2️⃣ Establish a Connection 3️⃣ Create a Statement 4️⃣ Execute a statement 5️⃣ Close the Connections I’m looking forward to learning more advanced topics and building real-time projects soon! 💻 #Java #AdvancedJava #LearningJourney #JDBC #Programming #Education #LinkedInLearning Guided by Levaku Lavanya mam, Saketh Kallepu sir, Uppugundla Sairam sir

To view or add a comment, sign in

Explore content categories