Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session Facade pattern #1278

Closed
iluwatar opened this issue Jul 7, 2020 · 6 comments
Closed

Session Facade pattern #1278

iluwatar opened this issue Jul 7, 2020 · 6 comments

Comments

@iluwatar
Copy link
Owner

iluwatar commented Jul 7, 2020

Description:

Implement the Session Facade design pattern to simplify interactions between clients and complex subsystems within our project. The Session Facade pattern provides a unified interface to a set of interfaces in a subsystem, making it easier for clients to use the system by reducing the number of interactions required. This pattern promotes loose coupling and enhances scalability and maintainability by encapsulating the complexities of the subsystem.

Main Elements of the Pattern:

  • Facade Class: A single class that provides a simplified interface to the complex subsystem.
  • Subsystem Classes: The classes that implement the subsystem functionality. These classes are hidden from the client.
  • Client: The user of the facade class.

References:

  1. Java Design Patterns Wiki
  2. Session Facade Pattern - Google Books

Acceptance Criteria:

  1. Implement a Facade class that provides a simplified interface to interact with the subsystem.
  2. Ensure that the subsystem classes are encapsulated and not exposed to the client.
  3. Add unit tests to verify the functionality and integration of the facade with the subsystem.
@Songtao-Zhu
Copy link

I would like to work on this issue.

@iluwatar
Copy link
Owner Author

iluwatar commented Oct 9, 2022

Ok @Songtao-Zhu

@LambertJi
Copy link

http://ommolketab.ir/aaf-lib/axkwht7wxrhvgs2aqkxse8hihyu9zv.pdf chapter 9.2
Could you please send it to my email([email protected])? I want to work on this issue but I can't open it. Thank you very much.

Songtao-Zhu added a commit to Songtao-Zhu/java-design-patterns that referenced this issue Oct 17, 2022
@iluwatar iluwatar moved this to In Progress in Java Design Patterns project Oct 29, 2022
Songtao-Zhu added a commit to Songtao-Zhu/java-design-patterns that referenced this issue Oct 30, 2022
@stale
Copy link

stale bot commented Nov 28, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status: stale issues and pull requests that have not had recent interaction label Nov 28, 2022
@iluwatar iluwatar added info: help wanted and removed status: stale issues and pull requests that have not had recent interaction labels Dec 3, 2022
@iluwatar iluwatar moved this from In Progress to Todo in Java Design Patterns project Dec 3, 2022
@shahdhoss
Copy link
Contributor

I have started working on this issue, can you please assign it to me? Thank you

@shahdhoss
Copy link
Contributor

I have submitted a pull request for this issue. Could you kindly review it?

iluwatar added a commit that referenced this issue Jan 11, 2025
* implementation of session facade #1278

* minor change

* readme updated

* addressed the comments regarding changing lists to maps and adding maven assembly plugin

---------

Co-authored-by: Ilkka Seppälä <[email protected]>
@github-project-automation github-project-automation bot moved this from In Progress to Done in Java Design Patterns project Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants