Skip to content

callme-jawad/CommandDPTRN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Command Design Pattern - CommandDp Project

Overview

This project demonstrates the Command Design Pattern in Java. The Command Pattern encapsulates a request as an object, allowing you to parameterize clients with queues, requests, and operations, and supports undoable operations.

Project Structure

src/commanddp – Source code for the Command Pattern implementation.

build/classes/commanddp – Compiled class files.

nbproject – NetBeans project configuration files.

build.xml – Build script for compiling and running the project.

manifest.mf – Manifest file for the project.

README.md – Project documentation.

Features

Encapsulates requests as objects.

Supports decoupling between the sender and receiver of requests.

Enables implementing undo/redo operations and queues for requests.

How to Run

Open the project in NetBeans or your preferred Java IDE.

Build the project using build.xml or IDE build options.

Run the main class (usually in src/commanddp) to see the Command Pattern in action.

Learnings

Understanding the Command Design Pattern and its structure.

Decoupling request senders and receivers.

Applying design patterns to real-world scenarios like task execution.

About

Java project demonstrating the Command Design Pattern for executing and managing requests."

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages