Spring Modulith - Spring for the Architecturally Curious Developer by Oliver Drotbohm

Sdílet
Vložit
  • čas přidán 30. 01. 2024
  • The architecture and design of an application significantly influences its maintainability, testability, and quality in general. Spring has always been a versatile tool that supports architects implementing the practices and patterns that have emerged to align technical building blocks in their code bases with domain concepts and boundaries. It lets developers build applications that clearly reflect architectural ideas and that are ultimately more amendable and maintainable. Key aspects of that are code organization for encapsulation, the Spring bean relationship arrangement, and how to use domain events to decouple logically individual parts of the application even within a singular artifact.
    The talk discusses those patterns and approaches to introduce Spring Modulith to, in turn, show how they uniquely position Spring developers to build better structured, more maintainable applications.
  • Věda a technologie

Komentáře • 3

  • @rohitsaxena3710
    @rohitsaxena3710 Před 5 měsíci +6

    Spring modulith should be a game changer in a sense it tries to overcome cons of both monolithic and microservices architecture.
    1. Everything is within the same spring application, hence avoids management of number of microservices (though data layer would be same, but its good as it doesn't require synchronization of databases among microservices).
    2. Forces strong dependency management to avoid injecting other modules in a single module and allows event based communication between modules. This is similar to have microservices based patterns within a single application.

    • @ggunlistedarchive969
      @ggunlistedarchive969 Před 25 dny

      Maybe more like: improving monoliths by taking ideas from microservices.

  • @rustinpeace7466
    @rustinpeace7466 Před měsícem

    This seems like a real neat way to enforce architecture. I didn't catch if it is applicable to an existing codebase? Like could I slap it in one of my company's EJB's and it suggest how to modularize?