An open API service indexing awesome lists of open source software.

https://github.com/giriraj-g0511/jdbc-notes-tutorials-and-contact-manager-app

This repository is a comprehensive collection of Java JDBC examples, conceptual notes, and a fully functional Contact Manager application. It serves as a learning resource for those interested in understanding JDBC (Java Database Connectivity) and how to interact with relational databases using Java.
https://github.com/giriraj-g0511/jdbc-notes-tutorials-and-contact-manager-app

Last synced: 28 days ago
JSON representation

This repository is a comprehensive collection of Java JDBC examples, conceptual notes, and a fully functional Contact Manager application. It serves as a learning resource for those interested in understanding JDBC (Java Database Connectivity) and how to interact with relational databases using Java.

Awesome Lists containing this project

README

        

# jdbc-notes-tutorials-and-contact-manager-app
-----------------------------------------------
# JDBC Notes, Tutorials & Contact Manager App

This repository provides a comprehensive learning experience for Java Database Connectivity (JDBC), along with a practical Contact Management App built using the MVC architecture.

## πŸ“š JDBC Notes

- **JDBC Notes.txt**: A detailed guide explaining JDBC concepts and steps to connect with a database.
- **JDBC Extra.txt**: Additional tips and tricks for advanced JDBC usage.

## πŸ’» Basic JDBC Programs (demoPrograms)

Contains demo programs that illustrate common JDBC operations:

- **BatchExecution.java**: Demonstrates executing multiple SQL statements in one go.
- **DeleteData.java**: Shows how to delete records from a database.
- **DeleteDataPreparedStatement.java**: Delete records securely using `PreparedStatement`.
- **InsertData.java**: Demonstrates inserting data into a database.
- **InsertDataPreparedStatement.java**: Insert data securely using `PreparedStatement`.
- **JDBC_Steps.java**: A guide to the fundamental steps of using JDBC.
- **ReadData.java**: Shows how to retrieve data from a database.
- **ReadDataPreparedStatement.java**: Retrieve data securely using `PreparedStatement`.
- **UpdateData.java**: Demonstrates updating data in the database.
- **UpdateDataPreparedStatement.java**: Update data securely with `PreparedStatement`.

## πŸ“± Contact Management App

This console-based app is structured using the **MVC (Model-View-Controller)** architecture:

- **controller/Controller.java**: Handles user interactions and updates the model.
- **model/Contact.java**: Represents the contact data and interactions with the database.
- **view/View.java**: Manages the user interface for displaying contacts and accepting input.

### Features:
- Add, update, delete, and display contacts.
- Search by name, company, email, city, or phone number.
- Store multiple phone numbers for a single contact.

## πŸ”§ Technologies Used

- Java (JDK 8+)
- JDBC (Java Database Connectivity)
- MySQL/PostgreSQL/SQLite (Database)
- MVC Architecture
- PreparedStatement for secure SQL queries

## πŸ“ž Contact

Feel free to raise any issues or ask questions through GitHub Issues or the repository’s contact section.

πŸ”— [[GitHub Repo Link](https://github.com/giriraj-g0511/jdbc-notes-tutorials-and-contact-manager-app)]

## πŸ“ License

This project is open-source and available under the MIT License. See the [LICENSE](LICENSE) file for more details.