<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Creational Patterns on Java &amp; Software Architecture Knowledge Hub</title><link>https://samirsahoo.github.io/design-patterns-hub/design-patterns/creational/</link><description>Recent content in Creational Patterns on Java &amp; Software Architecture Knowledge Hub</description><generator>Hugo</generator><language>en-US</language><copyright>© 2026 Samir Kumar Sahoo (https://github.com/samirsahoo). All rights reserved.</copyright><atom:link href="https://samirsahoo.github.io/design-patterns-hub/design-patterns/creational/index.xml" rel="self" type="application/rss+xml"/><item><title>Abstract Factory Pattern</title><link>https://samirsahoo.github.io/design-patterns-hub/design-patterns/creational/abstract-factory/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/design-patterns/creational/abstract-factory/</guid><description>&lt;h2 id="simple-definition"&gt;Simple definition&lt;a class="heading-anchor" href="#simple-definition" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The &lt;strong&gt;Abstract Factory&lt;/strong&gt; pattern provides one interface for creating a &lt;strong&gt;family of related objects&lt;/strong&gt;. Client code asks the factory for each object it needs and never names a concrete class, so a whole family can be swapped by swapping one factory.&lt;/p&gt;</description></item><item><title>Factory Method Pattern</title><link>https://samirsahoo.github.io/design-patterns-hub/design-patterns/creational/factory-method/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/design-patterns/creational/factory-method/</guid><description>&lt;h2 id="simple-definition"&gt;Simple definition&lt;a class="heading-anchor" href="#simple-definition" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The &lt;strong&gt;Factory Method&lt;/strong&gt; pattern declares a method for creating an object in a base class, and lets &lt;strong&gt;subclasses&lt;/strong&gt; decide which concrete class to instantiate. The base class contains the code that &lt;em&gt;uses&lt;/em&gt; the object; subclasses supply only the creation step.&lt;/p&gt;</description></item><item><title>Builder Pattern</title><link>https://samirsahoo.github.io/design-patterns-hub/design-patterns/creational/builder/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/design-patterns/creational/builder/</guid><description>&lt;h2 id="simple-definition"&gt;Simple definition&lt;a class="heading-anchor" href="#simple-definition" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The &lt;strong&gt;Builder&lt;/strong&gt; pattern constructs a complex object step by step, instead of in one constructor call. The construction logic lives in a separate builder object, so the same steps can produce a valid, often immutable, result.&lt;/p&gt;</description></item><item><title>Prototype Pattern</title><link>https://samirsahoo.github.io/design-patterns-hub/design-patterns/creational/prototype/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/design-patterns/creational/prototype/</guid><description>&lt;h2 id="simple-definition"&gt;Simple definition&lt;a class="heading-anchor" href="#simple-definition" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The &lt;strong&gt;Prototype&lt;/strong&gt; pattern creates a new object by &lt;strong&gt;copying an existing one&lt;/strong&gt;, the prototype, and then adjusting the copy. The client does not need to know the concrete class or how the original was configured.&lt;/p&gt;</description></item><item><title>Singleton Pattern</title><link>https://samirsahoo.github.io/design-patterns-hub/design-patterns/creational/singleton/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/design-patterns/creational/singleton/</guid><description>&lt;h2 id="simple-definition"&gt;Simple definition&lt;a class="heading-anchor" href="#simple-definition" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The &lt;strong&gt;Singleton&lt;/strong&gt; pattern makes sure a class has &lt;strong&gt;exactly one instance&lt;/strong&gt; in a process and gives everyone a way to reach it.&lt;/p&gt;&#10;&lt;p&gt;GoF intent: &lt;em&gt;&amp;ldquo;Ensure a class only has one instance, and provide a global point of access to it.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;</description></item></channel></rss>