Develop Multi Module (Microservices) Spring Boot Project Architecture | EnggAdda

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2025

ความคิดเห็น • 20

  • @JavaPatcher
    @JavaPatcher 5 หลายเดือนก่อน

    Hi Ravi thanks for sharing knowledge, How to create in STS? I was looking for a project where submodule automatically inherit the dependency, little bit confused some suggest create parent also as spring boot and sub module as maven module (GeeksForGeeks, javatpoint), some suggest create the parent as maven and sub module as spring boot on youtube, what is standard? also how to build this project to independent jars.

    • @enggadda
      @enggadda  5 หลายเดือนก่อน

      you can create parent module and child as Maven then you can include the any dependency in parent , that will be automatically inherit by child and you can use some plugin to build your parent module in jar which will have child as well or you can keep child modules as independent jar

  • @MattRodriguez-h7j
    @MattRodriguez-h7j 2 หลายเดือนก่อน

    Why would one create the 2 microservices as modules instead of having 2 separate project repositories ?. Also could i have the 2 microservices modules in 2 separate git projects ?

    • @tandapnoelbansikah6280
      @tandapnoelbansikah6280 25 วันที่ผ่านมา

      @MathRodriguez_h yes you can have two microservices in two separate projects and also when u use modules it helps u to keep ur code in one place rather than skipping from one repo to another

  • @saiRakshya
    @saiRakshya 9 หลายเดือนก่อน

    Soo now i can build one jar file and i can access two microservice individual lly??

    • @enggadda
      @enggadda  9 หลายเดือนก่อน

      no this is not the way where you can build one jar and all microservices you can access, if you want to do so, you have to make a parent project and in that pom.xml file you have to include you child projects and then build a single jar for that and good to go

  • @aylinsolak9627
    @aylinsolak9627 2 หลายเดือนก่อน

    how i can run both of them as 1 and call them via same root url (localhost:8080)?

    • @enggadda
      @enggadda  2 หลายเดือนก่อน +1

      We check and let you know

  • @dattatrisatgonda7581
    @dattatrisatgonda7581 ปีที่แล้ว

    if I wants to deploy ms1 alone than I can do it independently.??

    • @enggadda
      @enggadda  ปีที่แล้ว

      yes, create a jar of ms1 and deploy that

    • @tandapnoelbansikah6280
      @tandapnoelbansikah6280 25 วันที่ผ่านมา

      Think you can package it as a docker image using its own port🤷

  • @kumarmanish3364
    @kumarmanish3364 ปีที่แล้ว

    How to create 1 deployable JAR file for all the modules and project together ? In CI/CD it will fail to get deployed as 1 signle jar (spring boot jar) file. Kindly provide some details on that as well

    • @enggadda
      @enggadda  ปีที่แล้ว +2

      Sure , will cover this in a seperate video

    • @saiRakshya
      @saiRakshya 9 หลายเดือนก่อน

      Sir when you will Video please make soon ​@@enggadda

  • @fakewars9395
    @fakewars9395 ปีที่แล้ว

    what is the difference between multi-module and microservices ?

    • @enggadda
      @enggadda  ปีที่แล้ว

      its a kind of architecture to develop the microservices, that i can say

  • @reshmareshu7930
    @reshmareshu7930 7 หลายเดือนก่อน

  • @nikse2028
    @nikse2028 5 หลายเดือนก่อน

    why every springboot developer is indian ?? I'm not racist just is curious to me that many developpers at least in youtube are indians haha

    • @enggadda
      @enggadda  5 หลายเดือนก่อน

      I am not sure , May be Most of Developers are Working on Spring 😄😄, by the way where are you from ?

    • @nikse2028
      @nikse2028 5 หลายเดือนก่อน

      @@enggadda Ohh Hello bro!, I'm from Latam. Yes maybe, spring has been increased its popularity these days. Anyway thanks for the content, I'd be lose otherwise haha