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 ?
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.
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
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
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 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
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 ?
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.
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
❤
if I wants to deploy ms1 alone than I can do it independently.??
yes, create a jar of ms1 and deploy that
Soo now i can build one jar file and i can access two microservice individual lly??
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
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
Sure , will cover this in a seperate video
Sir when you will Video please make soon @@enggadda
what is the difference between multi-module and microservices ?
its a kind of architecture to develop the microservices, that i can say
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
I am not sure , May be Most of Developers are Working on Spring 😄😄, by the way where are you from ?
@@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