iluwatar / java-design-patterns

Design patterns implemented in Java
https://java-design-patterns.com
Other
88.67k stars 26.28k forks source link

Asynchronous Page pattern #1265

Open iluwatar opened 4 years ago

iluwatar commented 4 years ago

Description: The Asynchronous Page Design Pattern allows for the decoupling of long-running tasks from the main flow of a web page, providing a more responsive and interactive user experience. This pattern is particularly useful for web applications where certain operations, like data retrieval or processing, can take a significant amount of time and would otherwise block the user interface.

Main elements of the pattern:

References:

  1. Java Design Patterns - Contribution Guidelines
  2. Asynchronous Page Design Pattern - Google Books

Acceptance Criteria:

  1. Implement a client-side example demonstrating the initiation of an asynchronous request and handling the response.
  2. Develop a server-side component that processes the asynchronous request in a non-blocking manner and communicates the status back to the client.
  3. Provide clear documentation and usage instructions, including code comments and a README file explaining how to run and test the implementation.
dkr19 commented 1 year ago

Could you please assign this to me?

iluwatar commented 1 year ago

Ok @dkr19

stale[bot] commented 1 year ago

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.