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

Поділитися
Вставка
  • Опубліковано 8 лис 2024

КОМЕНТАРІ • 16

  • @MattRodriguez-h7j
    @MattRodriguez-h7j 3 дні тому

    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 ?

  • @JavaPatcher
    @JavaPatcher 3 місяці тому

    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  3 місяці тому

      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

  • @reshmareshu7930
    @reshmareshu7930 4 місяці тому

  • @dattatrisatgonda7581
    @dattatrisatgonda7581 9 місяців тому

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

    • @enggadda
      @enggadda  9 місяців тому

      yes, create a jar of ms1 and deploy that

  • @saiRakshya
    @saiRakshya 7 місяців тому

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

    • @enggadda
      @enggadda  7 місяців тому

      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

  • @kumarmanish3364
    @kumarmanish3364 10 місяців тому

    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  10 місяців тому +2

      Sure , will cover this in a seperate video

    • @saiRakshya
      @saiRakshya 7 місяців тому

      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

  • @nikse2028
    @nikse2028 2 місяці тому

    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  2 місяці тому

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

    • @nikse2028
      @nikse2028 2 місяці тому

      @@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