<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Software-Architecture on Java &amp; Software Architecture Knowledge Hub</title><link>https://samirsahoo.github.io/design-patterns-hub/tags/software-architecture/</link><description>Recent content in Software-Architecture 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/tags/software-architecture/index.xml" rel="self" type="application/rss+xml"/><item><title>Domain-Driven Design Fundamentals</title><link>https://samirsahoo.github.io/design-patterns-hub/domain-driven-design/fundamentals/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/domain-driven-design/fundamentals/</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;&lt;strong&gt;Domain-Driven Design (DDD)&lt;/strong&gt; is an approach to building software for complex business domains. Its central idea is that the structure and language of the code should match the business it serves, and that developers and domain experts should build that model together.&lt;/p&gt;</description></item><item><title>Introduction to Software Architecture</title><link>https://samirsahoo.github.io/design-patterns-hub/software-architecture/introduction/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/software-architecture/introduction/</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;&lt;strong&gt;Software architecture&lt;/strong&gt; is the set of significant decisions about how a system is structured: its main parts, how they relate, how they communicate, and the principles that guide its evolution. &amp;ldquo;Significant&amp;rdquo; means &lt;em&gt;expensive to change later&lt;/em&gt;.&lt;/p&gt;</description></item><item><title>Layered versus Hexagonal Architecture</title><link>https://samirsahoo.github.io/design-patterns-hub/hexagonal-architecture/layered-vs-hexagonal/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/hexagonal-architecture/layered-vs-hexagonal/</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;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Layered architecture&lt;/strong&gt; stacks the code in horizontal layers — typically presentation, business and data access. Each layer calls the layer below it, so dependencies point &lt;strong&gt;down, towards the database&lt;/strong&gt;.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Hexagonal Architecture&lt;/strong&gt;, also called &lt;strong&gt;Ports and Adapters&lt;/strong&gt; (Alistair Cockburn, 2005), puts the business logic at the centre. The core defines &lt;strong&gt;ports&lt;/strong&gt; — interfaces in its own terms — and technology-specific &lt;strong&gt;adapters&lt;/strong&gt; plug into them from outside. All dependencies point &lt;strong&gt;inwards, towards the business logic&lt;/strong&gt;.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;The difference is one word: &lt;em&gt;direction&lt;/em&gt;. That single change has large consequences for testing and for changing technology.&lt;/p&gt;</description></item><item><title>Microservices versus Modular Monolith</title><link>https://samirsahoo.github.io/design-patterns-hub/microservices/fundamentals/microservices-vs-modular-monolith/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://samirsahoo.github.io/design-patterns-hub/microservices/fundamentals/microservices-vs-modular-monolith/</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;div class="table-wrap" tabindex="0" role="region" aria-label="Table"&gt;&#10;&lt;table&gt;&#10; &lt;thead&gt;&#10; &lt;tr&gt;&#10; &lt;th&gt;Style&lt;/th&gt;&#10; &lt;th&gt;Deployment units&lt;/th&gt;&#10; &lt;th&gt;Internal boundaries&lt;/th&gt;&#10; &lt;th&gt;Data&lt;/th&gt;&#10; &lt;/tr&gt;&#10; &lt;/thead&gt;&#10; &lt;tbody&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;strong&gt;Monolith&lt;/strong&gt; (unstructured)&lt;/td&gt;&#10; &lt;td&gt;One&lt;/td&gt;&#10; &lt;td&gt;Weak or none&lt;/td&gt;&#10; &lt;td&gt;One shared schema, accessed from anywhere&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;strong&gt;Modular monolith&lt;/strong&gt;&lt;/td&gt;&#10; &lt;td&gt;One&lt;/td&gt;&#10; &lt;td&gt;Strong, enforced module boundaries aligned with business capabilities&lt;/td&gt;&#10; &lt;td&gt;One database, but each module owns its tables&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;tr&gt;&#10; &lt;td&gt;&lt;strong&gt;Microservices&lt;/strong&gt;&lt;/td&gt;&#10; &lt;td&gt;Many, independently deployable&lt;/td&gt;&#10; &lt;td&gt;Enforced by the network&lt;/td&gt;&#10; &lt;td&gt;Each service owns its database&lt;/td&gt;&#10; &lt;/tr&gt;&#10; &lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;A &lt;strong&gt;modular monolith&lt;/strong&gt; is a single deployable application divided internally into modules with explicit interfaces and private internals. &lt;strong&gt;Microservices&lt;/strong&gt; take the same idea further: each module becomes a separately deployed process, owned by one team, with its own data store.&lt;/p&gt;</description></item></channel></rss>