mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 05:20:09 +00:00
Update transaction-script/Readme.md
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
This commit is contained in:
1 parent
5eb9b98e78
commit
94c131f7e9
1 file changed
+1
-2
@@ -13,8 +13,7 @@ Transaction Script organizes business logic by procedures where each procedure h
|
|||||||
|
|
||||||
## Explanation
|
## Explanation
|
||||||
Real world example
|
Real world example
|
||||||
> Your need is to be able to book a hotel room and also be able to cancel that booking.
|
> You need to create a hotel room booking system. Since the requirements are quite simple we intend to use the Transaction Script pattern here.
|
||||||
>
|
|
||||||
|
|
||||||
In plain words
|
In plain words
|
||||||
> All logic related to booking a hotel room like checking room availability,
|
> All logic related to booking a hotel room like checking room availability,
|
||||||
|
|||||||
Reference in new issue
Block a user