Skip to content

Java Projects Repository containing solutions to classroom activities, covering topics like exception handling, generics, web services (SOAP/WSDL), and OOP. Aimed at enhancing Java programming skills through practical projects

Notifications You must be signed in to change notification settings

YOUHAD08/Java-Projects

Repository files navigation

📘 Java Projects Repository

This repository contains solutions to several Java programming projects that were given as part of classroom activities. Each folder corresponds to a specific class project, covering different topics and concepts in Java.


📂 Project Overview

1. ⚙️ Exception Management

  • 📁 Location: Exception_Management
  • 🛠 Description:
    This project demonstrates proper handling of exceptions in Java. It includes custom exception classes and showcases how exceptions can be thrown and caught effectively to prevent program crashes.
  • 👨‍🏫 Class Objectives:
    • Understanding the try-catch and finally blocks
    • How to create and use custom exceptions
    • Chaining exceptions and using throw and throws keywords

2. 🏷 Inventory Management System

  • 📁 Location: Inventory-Management-System
  • 🛠 Description:
    A console-based inventory management system for tracking and managing product stock. This project uses basic file handling for data persistence.
  • 👨‍🏫 Class Objectives:
    • Using Java classes and objects to model an inventory system
    • Implementing CRUD operations (Create, Read, Update, Delete)
    • Basic file operations (saving and loading inventory data to/from files)

3. 🔢 Practical Activity: Generics

  • 📁 Location: Practical_Activity_Generics
  • 🛠 Description:
    This project focuses on the use of Java Generics to create reusable, type-safe classes and methods. Examples include generic lists, maps, and methods for different data types.
  • 👨‍🏫 Class Objectives:
    • Understanding the concept of generics and its use for type safety
    • Creating generic classes and methods
    • Working with commonly used generic types like List<T> and Map<K, V>

4. 🌐 Web Service (SOAP and WSDL)

  • 📁 Location: WebService_SOAP_WSDL
  • 🛠 Description:
    A project outlining the fundamentals of creating and consuming SOAP-based web services with WSDL (Web Services Description Language). This covers how to use services and exchange data in a structured way over a network.
  • 👨‍🏫 Class Objectives:
    • Writing a basic SOAP-based web service
    • Consuming SOAP services in a Java client
    • Understanding how WSDL documents are used to describe web service operations and data formats

🚀 How to Run the Projects

Each project in this repository has a specific purpose and can be executed independently. Follow the steps below:

  1. Navigate to the desired project folder.
  2. Open the folder in your Java IDE (e.g., IntelliJ IDEA, Eclipse).
  3. Locate the main class in the project (usually Main.java or Program.java).
  4. Run the main class to execute the project-specific functionality.

💻 Prerequisites

To run these projects, ensure that the following are installed:

  • Java Development Kit (JDK): Version 8 or later (Recommended: 11+).
  • A Java IDE or a CLI environment with basic knowledge of running Java applications.

🌟 Contribution

This repository is meant as a learning resource based on classroom activities. Contributions to improve or extend solutions are welcome! Feel free to:

  • Submit suggestions for improvement
  • Add additional examples or explanations
  • Fork and modify the repository for personal learning

📜 License

This repository is free to use for educational and personal learning purposes.


📧 Contact Information

If you have any questions or encounter issues with these solutions, feel free to reach out my email .


Happy Learning! 🚀

About

Java Projects Repository containing solutions to classroom activities, covering topics like exception handling, generics, web services (SOAP/WSDL), and OOP. Aimed at enhancing Java programming skills through practical projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages