Tutorialspoint

4th Of July Sale Flat 10% off, Use Code: FREEDOM10

Learn Spring Modulith: Monolith to Microservices Seamlessly

person icon Ezekiel Eromosei

4.4

Learn Spring Modulith: Monolith to Microservices Seamlessly

Spring Modulith, Spring Boot 3, Spring Data JPA, Spring MVC, Transition from monolith to microservices easily

updated on icon Updated on Jun, 2024

language icon Language - English

person icon Ezekiel Eromosei

category icon Software Engineering,Web Development,Spring Framework,Spring MVC,Spring Boot,

Lectures -63

Resources -5

Duration -11 hours

4.4

price-loader

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

Would you like to know how to structure your application?

Would you like to easily transition your application to microservices having started as a monolith? Then this course is for you

It teaches you from scratch all you need to know about Spring Modulith. We break entities and their related objects into modules and use existing Modulith rules to enforce compliance.

You will master why and how to use Spring events to communicate between modules.

Also covered are mirroring existing database with Spring Data JPA.

The course also explains  pragmatically how to save events: 

  •  Successful events for metrics through illustration.

  • Failed Events: on how to retrieve, APIs made available to trigger the rerun.

    • Created a custom class to show how we can use a scheduler (cronjob) to rerun the events.

    • also manual triggering of the failed event through an exposed method.


Inside the Course, you will learn about and/or highlight a bit on:

  • Spring Events

  • Spring Data JPA

  • Containerization (Docker)

    • The course shows three (3) ways we can containerize our application. i.e create image

    • we likewise ran the application via Docker commands in the terminal

    • clear usage on how services communicate within the containerized environment

      • we leveraged Docker networks clearly defined in the compose file

  • PostgresDB

  • Custom Exceptions and Validations

  • Modulith Metrics

  • Java records

  • Spring Boot Starter Docker Compose and how to use it in development and Integration Tests.

Goals

You will learn how to apply Spring Modulith to any Spring Project.

You will learn how to Document with Spring Modulith Documenter.

You will learn how to mirror an already existing database with Spring JPA.

You will learn how to section your projects into modules (packages).

You will learn how to work with spring events.

You will learn how to ensure your modules are cleanly separated.

You will learn how to expose and restrict modules

You will learn how to add Modulith actuator dependency and its properties to actuator.

You will write integration tests to ensure modules are communicating with the defined rules.

You will learn how to create custom exceptions and validation

You will learn 3 ways to containerize your application  (Docker).

You will learn how to prepare to deploy to Kubernetes.

You will learn pragmatic approach to deploy to Kubernetes.




Prerequisites

Java 21+. However, Java 8+ experience is enough.

Spring Boot

Basic Knowledge of  Spring JPA

Appreciates Hands-on Coding

Learn Spring Modulith: Monolith to Microservices Seamlessly

Curriculum

Check out the detailed breakdown of what’s inside the course

Introduction
4 Lectures
  • play icon Introduction 00:26 00:26
  • play icon Monoliths vs Microservices 13:27 13:27
  • play icon Overview: What We'll Build 01:07 01:07
  • play icon Modulith Course Resource
Bootstrapping Dependencies
3 Lectures
Tutorialspoint
Modulith: Entity Definitions and Bootstrap Data
4 Lectures
Tutorialspoint
Modulith: Module Integration Test
3 Lectures
Tutorialspoint
Modulith : Named Interface And Order Service
6 Lectures
Tutorialspoint
Modulith : Events And Listeners
10 Lectures
Tutorialspoint
Modulith : Payment And Email Listener
4 Lectures
Tutorialspoint
Modulith : Exception and Validation
2 Lectures
Tutorialspoint
Modulith : Documentation
3 Lectures
Tutorialspoint
Modulith : Production Ready Features
6 Lectures
Tutorialspoint
Modulith: Kubernetes 2
16 Lectures
Tutorialspoint
Finally2
2 Lectures
Tutorialspoint

Instructor Details

Ezekiel Eromosei

Ezekiel Eromosei

Senior Software Engineer

Hi, I'm Ezekiel,

I have been in the IT industry for over 10 years. I specialize in Java and leverage Spring framework, an enterprise-grade, open-source framework for building robust applications. Some Sectors I have worked in include Educational, Financial, and AI space.


I hope to leverage my experience through the years to convey an accurate knowledge to you.

Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515