{"id":76009,"date":"2024-05-06T12:08:28","date_gmt":"2024-05-06T16:08:28","guid":{"rendered":"http:\/\/bangla.sitestree.com\/?p=76009"},"modified":"2024-05-06T13:21:08","modified_gmt":"2024-05-06T17:21:08","slug":"java-structural-design-patterns","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=76009","title":{"rendered":"Java Structural Design Patterns"},"content":{"rendered":"<p>Adapter Design Patterns<br \/>\n<a href=\"\" rel=\"attachment wp-att-76010\"><img loading=\"lazy\" decoding=\"async\" src=\"\" alt=\"\" title=\"image-5-png\" width=\"1024\" height=\"1024\" class=\"alignnone size-full wp-image-76010\" \/><\/a><\/p>\n<p>Ref: A good read: <a href=\"https:\/\/refactoring.guru\/design-patterns\/adapter\">https:\/\/refactoring.guru\/design-patterns\/adapter<\/a><\/p>\n<p><a href=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/05\/image-6.png\" rel=\"attachment wp-att-76011\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/05\/image-6.png?resize=750%2C750\" alt=\"\" title=\"image-6-png\" width=\"750\" height=\"750\" class=\"alignnone size-full wp-image-76011\" srcset=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/05\/image-6.png?resize=150%2C150 150w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/05\/image-6.png?resize=50%2C50 50w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/p>\n<p>Ref: Wikipedia<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/05\/image-7.png\" rel=\"attachment wp-att-76012\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/05\/image-7.png?resize=750%2C750\" alt=\"\" title=\"image-7-png\" width=\"750\" height=\"750\" class=\"alignnone size-full wp-image-76012\" srcset=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/05\/image-7.png?resize=150%2C150 150w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/05\/image-7.png?resize=50%2C50 50w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/p>\n<p>Ref: <a href=\"https:\/\/www.visual-paradigm.com\/guide\/uml-unified-modeling-language\/uml-aggregation-vs-composition\/\">https:\/\/www.visual-paradigm.com\/guide\/uml-unified-modeling-language\/uml-aggregation-vs-composition\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adapter Design Patterns Ref: A good read: https:\/\/refactoring.guru\/design-patterns\/adapter Ref: Wikipedia Ref: https:\/\/www.visual-paradigm.com\/guide\/uml-unified-modeling-language\/uml-aggregation-vs-composition\/<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1962,182],"tags":[],"class_list":["post-76009","post","type-post","status-publish","format-standard","hentry","category-java-design-patterns","category---blog","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":76250,"url":"http:\/\/bangla.sitestree.com\/?p=76250","url_meta":{"origin":76009,"position":0},"title":"Adapter Design Patterns","author":"Sayed","date":"August 21, 2024","format":false,"excerpt":"Adapter Design Patterns What is a design pattern? What is a Structural Design Pattern? What is an Adapter Design Pattern? What is the purpose of the Adapter Design Pattern? What is the category of the Adapter Design Pattern? Provide use cases where you can use a Adapter design pattern. How\u2026","rel":"","context":"In &quot;\u09ac\u09cd\u09b2\u0997 \u0964 Blog&quot;","block_context":{"text":"\u09ac\u09cd\u09b2\u0997 \u0964 Blog","link":"http:\/\/bangla.sitestree.com\/?cat=182"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/08\/image.png?resize=700%2C400 2x"},"classes":[]},{"id":78099,"url":"http:\/\/bangla.sitestree.com\/?p=78099","url_meta":{"origin":76009,"position":1},"title":"Java Creational Design Patterns","author":"Sayed","date":"May 4, 2025","format":false,"excerpt":"5 types of creational design patterns: Factory Design Patterns: Purpose: Create Objects, Keep Object Creation Centralized Abstract Factory Design Patterns Singleton Design Pattern: Limit instantiation\u00a0 of a clas to only one instance Prototype Design Patterns: Object creation based on Prototype Object Instance; Simpler Object Creation than Factory. Builder Design Patterns:\u2026","rel":"","context":"In &quot;Root&quot;","block_context":{"text":"Root","link":"http:\/\/bangla.sitestree.com\/?cat=1"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/05\/image-3.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/05\/image-3.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/05\/image-3.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/05\/image-3.png?resize=700%2C400 2x"},"classes":[]},{"id":76018,"url":"http:\/\/bangla.sitestree.com\/?p=76018","url_meta":{"origin":76009,"position":2},"title":"Java: Facade Design Pattern","author":"Sayed","date":"May 6, 2024","format":false,"excerpt":"Fa\u00e7ade Pattern \u201cFacade is a structural design pattern that provides a simplified interface to a library, a framework, or any other complex set of classes.\u201d \u201cWhen you call a shop to place a phone order, an operator is your facade to all services and departments of the shop. The operator\u2026","rel":"","context":"In &quot;Java Design Patterns and OOP&quot;","block_context":{"text":"Java Design Patterns and OOP","link":"http:\/\/bangla.sitestree.com\/?cat=1962"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/05\/image-9.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":76014,"url":"http:\/\/bangla.sitestree.com\/?p=76014","url_meta":{"origin":76009,"position":3},"title":"Java : Decorator Design pattern","author":"Sayed","date":"May 6, 2024","format":false,"excerpt":"Decorator Design pattern: Decorator is a structural design pattern that lets you attach new behaviors to objects by placing these objects inside special wrapper objects that contain the behaviors. Example: Assume: A notifier class\/object can send only email messages. But the application at a later time may want to use\u2026","rel":"","context":"In &quot;Java Design Patterns and OOP&quot;","block_context":{"text":"Java Design Patterns and OOP","link":"http:\/\/bangla.sitestree.com\/?cat=1962"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/05\/image-8.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/05\/image-8.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/05\/image-8.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/05\/image-8.png?resize=700%2C400 2x"},"classes":[]},{"id":78393,"url":"http:\/\/bangla.sitestree.com\/?p=78393","url_meta":{"origin":76009,"position":4},"title":"Java Design Patterns Simplified","author":"Sayed","date":"August 24, 2025","format":false,"excerpt":"From AI Tools\/OpenAI\/Internet \" Here\u2019s a short, copyright-free version suitable for Facebook or a blog post: Java Design Patterns Simplified Design patterns are proven solutions to common programming problems. They make code more reusable, flexible, and easier to maintain. 1\ufe0f\u20e3 Creational Patterns \u2013 How objects are created.Examples: Singleton, Factory, Builder,\u2026","rel":"","context":"In &quot;Anything JAVA&quot;","block_context":{"text":"Anything JAVA","link":"http:\/\/bangla.sitestree.com\/?cat=1975"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":66312,"url":"http:\/\/bangla.sitestree.com\/?p=66312","url_meta":{"origin":76009,"position":5},"title":"Java Design Patterns and Examples #Java Short Notes","author":"Author-Check- Article-or-Video","date":"July 18, 2021","format":false,"excerpt":"J2EE core design patterns: Click on a pattern rectangle to explore Data Access Object Transfer Object From: http:\/\/sitestree.com\/?p=4934 Categories:Java Short NotesTags: Post Data:2007-06-04 16:27:01 Shop Online: https:\/\/www.ShopForSoul.com\/ (Big Data, Cloud, Security, Machine Learning): Courses: http:\/\/Training.SitesTree.com In Bengali: http:\/\/Bangla.SaLearningSchool.com http:\/\/SitesTree.com 8112223 Canada Inc.\/JustEtc: http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) Shop Online: https:\/\/www.ShopForSoul.com\/ Medium: https:\/\/medium.com\/@SayedAhmedCanada","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76009","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=76009"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76009\/revisions"}],"predecessor-version":[{"id":76013,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76009\/revisions\/76013"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=76009"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=76009"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=76009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}