Create a Spring Boot Application Using Multiple Maven Modules [Intermediate Spring Boot]

  Рет қаралды 79,762

Dan Geabunea (Romanian Coder)

Dan Geabunea (Romanian Coder)

Күн бұрын

Пікірлер: 106
@BuddikaKularathna
@BuddikaKularathna 6 жыл бұрын
This is the most concise tutorial I ever seen regarding generating multi module maven project.
@RomanianCoder
@RomanianCoder 6 жыл бұрын
Hello and thank you very much! I am really glad when my courses are helping others. Also, if you have any more feedback or course topics, please let me know.
@tianshiliao5372
@tianshiliao5372 7 жыл бұрын
Well organized and presented. By far the best lecture i've ever seen on youtube regarding spring boot. keep it up
@magadiflo-dev
@magadiflo-dev Жыл бұрын
Thank you for sharing your knowledge, it is very valuable, especially since it is focused on a real field of how companies work, thank you very much 😄
@domenicosannino4164
@domenicosannino4164 5 жыл бұрын
Congratulations these tutorials are very clear, and done professionally, it is a pleasure to follow them
@zombieloffe
@zombieloffe 6 жыл бұрын
Great tutorial, really good job explaining the new features for different spring and intellij versions. Keep up the good work!
@iAbhinavSinghal
@iAbhinavSinghal 3 жыл бұрын
Thanks a lot for the video. I had been trying to do so for a long time now. But Always felt short on a few steps and leave the process all together. Your video helped me to stitch all the pieces together. Cheers.
@adamkalisz7317
@adamkalisz7317 2 жыл бұрын
Very helpful and simple to understand, thank you!
@박충희-u9o
@박충희-u9o 6 жыл бұрын
Clear tutorial! I solved all my blocked issue after watch this video.
@Mohamed-uf5jh
@Mohamed-uf5jh 6 жыл бұрын
Thanks Romanian, you explain absolutly good, and perfect example
@IraqAllFor
@IraqAllFor 7 жыл бұрын
RC this is a very good video, got to it at the right moment. Please continue with the same style for future vids. I have custom auth spring security module and trying to incorporate with my REST module. WIll follow the similar path to see if I can make it work
@trapmusic9014
@trapmusic9014 3 жыл бұрын
This was really fantastic lecture. Thanks for your efforts and knowledge sharing !! Please create the project describing all the modules of Spring like AOP, JPA, REST Api, Security, Microservices within the same.
@pravinabhale4724
@pravinabhale4724 4 жыл бұрын
Thank You, Romanian, for your neat and nice explanation. It really helps us in building a scalable application. Thank you once again.
@aminkamal3938
@aminkamal3938 7 жыл бұрын
Thank for this demo. It helped me a lot for an ongoing project
@RomanianCoder
@RomanianCoder 7 жыл бұрын
Hello, Amin! Very glad to hear it :)
@basheeral-momani2032
@basheeral-momani2032 6 жыл бұрын
thanks a lot mr Romanian Coder for this awesome tutorial, it's my pleasure to subscribe to your awesome channel
@ent.subirsaha
@ent.subirsaha 5 жыл бұрын
Very Good Tutorial. You have explained it very well. Thanks :) Question: Say you have a multi module maven project with different services like auth-server and resource-server. Both of these services are running with different context and different port. So, how do we ask spring-boot to start both of these services with a single SpringBootServletInitializer.
@RomanianCoder
@RomanianCoder 5 жыл бұрын
Hello! I think it is more a matter of operations. Each service will be a jar file, which you can start with java - jar command. Also, if you need orchestration, you cohld consider docker and kubernetes.
@AkshaySinghi
@AkshaySinghi 7 жыл бұрын
Thanks Man great video. But one question how should i create an maven pom project (Parent module) in Spring tool suite
@RomanianCoder
@RomanianCoder 7 жыл бұрын
Hello and thank you for the comment! I never worked with STS, but I guess the approach should be the same. All you need to do is write the appropiate pom files. The IDE should not matter that much.
@nayanarora6827
@nayanarora6827 5 жыл бұрын
Thank you so much for this wonderful tutorial. Just wondering why running mvn clean install command fails on the persistence project?
@raymondmouthaan6335
@raymondmouthaan6335 7 жыл бұрын
Thank you, very nice to follow your tutorials!
@meghan1798
@meghan1798 6 жыл бұрын
Thanks for this amazing tutorial, the explanation was quite pellucid , really appreciate your efforts!!
@RomanianCoder
@RomanianCoder 6 жыл бұрын
Thank you very much:) Can i ask you what other courses would make this channel even more helpful?
@kaidobit6954
@kaidobit6954 4 жыл бұрын
is there a need for the web dependency in the POM outside of the modules? did you move the spring-boot-plugin from the outside-modules-POM to web-module because web-module is the entrypoint into your application? because the documentation says its used to package a jar/war, but since all of those modules will be packaged into their own jars and these get combined into a war wouldnt it make sense to use the spring-boot-plugin in every POM or how do they know how to be packaged?
@dmitrymaur7186
@dmitrymaur7186 7 жыл бұрын
Your videos are really awesome. I look forward to your new videos=) Ty.
@RomanianCoder
@RomanianCoder 7 жыл бұрын
Thank you very much, Dmitry! I appreciate it;)
@revanthmadishetty3730
@revanthmadishetty3730 6 жыл бұрын
Hi Romanian , that was very nice tutorial . now how to register all this module of the project in eureka Service? please let me know the link if u already made a video on it or make a video for it please
@RomanianCoder
@RomanianCoder 6 жыл бұрын
Hello! Thatnk you very much for the message. Unfortunately, I don't have xp with eureka, so I don't think I will make videos on this :(
@rabinawal76
@rabinawal76 5 жыл бұрын
Time 16:25 (DbSeeder.java) gives me compile time error Inferred type 'S' for type parameter 'S' is not within its bound; should extends rc.domain.Hotel. How do we fix this issue? I used saveAll(hotels) instead of save(hotels) to get ri of it. Is it good solution?
@apamuce
@apamuce 5 жыл бұрын
Thanks for superb tutorial! I am curious if you need to consume the REST service with a some scalable futureproof UI what would you do: create another module or implement it in web
@RomanianCoder
@RomanianCoder 5 жыл бұрын
Hello and thank you for the positove comment. When it comes to ui i would probably go for a whole new app. (angular/react/vue for web, javafx for desktop). I think it is better to keep the ui completely independent of the rest api and business logic.
@apamuce
@apamuce 5 жыл бұрын
@@RomanianCoder Agree on that, but actualy i miss to clarify my thoughts: a stand alone self independant, autorunnable fat jar app with embeded tomcat. But yes you are absolutely right it must be kept independent.
@sagar-uf9hi
@sagar-uf9hi 3 ай бұрын
how to run if i already have the existing 2 projects and has their own endpoints ,i want to run them on a same port and access their original endpoints and also different dbs
@adityamajety8711
@adityamajety8711 7 жыл бұрын
Good stuff and Well explained. Thankyou RC!
@RomanianCoder
@RomanianCoder 7 жыл бұрын
Hello! I am really glad that you found the tutorial useful;)
@anushilsharma9777
@anushilsharma9777 3 жыл бұрын
Very good RC, best wishes.
@way2arvind
@way2arvind 6 жыл бұрын
thanks for such a good tutorial, it's really easy to understand.
@360Legion
@360Legion 5 жыл бұрын
Hi Sir. I found your video very helpful. I got a question. Instead of EntityScan can we have @ComponentScan and specify the base packages there?
@RomanianCoder
@RomanianCoder 5 жыл бұрын
Hello! As far as I know @EntityScan is not the same as @ComponentScan. Entities are needed for JPA implementations. They are bot beans that get injected.
@nelsonoliveira4976
@nelsonoliveira4976 3 жыл бұрын
Great tutorial. can you show one project with modular monolithic using spring ?
@oleksandr3275
@oleksandr3275 5 жыл бұрын
Thank you so much. I enjoyed listening and watching your video tutorial !
@MrProfeDNY
@MrProfeDNY 5 жыл бұрын
Can you do a tutorial on how to integrate this same project with CircleCI?
@RomanianCoder
@RomanianCoder 5 жыл бұрын
Hello! Unfortunately, I do not have xp with circle ci, so I can not do a video on this topic :(
@ismaeldomingosjunior185
@ismaeldomingosjunior185 6 жыл бұрын
simple and objective, congratulations!
@andreialexandru7027
@andreialexandru7027 7 жыл бұрын
Great! Thank you very much! Keep up the good work :)
@BobbyFu
@BobbyFu 5 жыл бұрын
Hi Romanian Coder, can you create the same Spring Boot projects using multiple Gradle modules? I'm having problems creating this project. Thanks.
@vanilsondonascimentodoming9795
@vanilsondonascimentodoming9795 5 жыл бұрын
hi can you please help me ...i would like to know how can i create an instance of one webserve to other webserver in spring framework .in this case (wbserve 1 to webserve 2)???
@Pumazr
@Pumazr 6 жыл бұрын
im getting this error "Cannot determine embedded database driver class for database type NONE" im trying to work with postgres and JPA . i have the application.properties file in resources folder (web project ) but doesnt work, can you please help me?
@麻贵海
@麻贵海 6 жыл бұрын
Thank you very much, I have solved a question I have always had.
@RomanianCoder
@RomanianCoder 6 жыл бұрын
I am happy yo hear this :D Thank you for the comment.
@khayalian
@khayalian 4 жыл бұрын
Hello Romanian, thanks for the deep explanation on how to build multimodel spring, but I'm having a problem, with Whitelabel Error Page, I'm using boot, controller in the web section, with a configuration in the properties, the controller working fine but the web site address , under WEb-INF returning Whitelabel Error Page, is there any explanation or tutorials that can help understand thanks
@klaudiasocha8404
@klaudiasocha8404 6 жыл бұрын
Awesome Tutorial, but I still have a question, how do I make @RequestMapping ("/ hotels / {id}")?
@RomanianCoder
@RomanianCoder 6 жыл бұрын
Hey, Klaudia! Thank you very much for the feedback:) There is a method on the MongoRepository interface called findOne or findOneById. You could use it to achieve what you want.
@klaudiasocha8404
@klaudiasocha8404 6 жыл бұрын
Thanks, you helped me a lot. :)
@chaosknn3885
@chaosknn3885 7 жыл бұрын
Thank you very much! This is the very video I want.
@RomanianCoder
@RomanianCoder 7 жыл бұрын
Hello Chao! I am really happy that it was useful to you!
@Sam-iv7ml
@Sam-iv7ml 5 жыл бұрын
Very good tutorial...is there a book where i can learn more about it
@hablahei1
@hablahei1 6 жыл бұрын
Great tutorial!
@ray5843
@ray5843 6 жыл бұрын
I have a question, how to config unit testing in DataAccess module and BizLogic module?
@muradsatimov155
@muradsatimov155 6 жыл бұрын
Hi very good tutorial. Thanks. I want to put database connection settings in domain module "application.properties" file. I tried but no result
@RomanianCoder
@RomanianCoder 6 жыл бұрын
Hey! The application.properties file are picked up from the executing module (not the domain one). You should try to place them there. I believe this is the reason why they are not picked up. Thanks a lot for the positive feedback ;)
@nikosc
@nikosc 6 жыл бұрын
yes, but how do you do integration testing on modules separately?
@RomanianCoder
@RomanianCoder 6 жыл бұрын
Hi, Nikos. Well, integration testing means to check your whole app. So, if you start at the main module (the one which fires up the SpringBoot app), you can add integration tests. The main module knows about the rest, so visibility os not an issue. Use the SpringRunner to benefit from CDI and mock specific portions of the app. If you search the web for spring boot integration testing you'll see plenty of hands on examples ;)
@thiagomatar7942
@thiagomatar7942 6 жыл бұрын
Thks guy, awesome tutorial
@harishpathipati7197
@harishpathipati7197 6 жыл бұрын
This is cool and neat. Thanks man
@hatemkhlifi6367
@hatemkhlifi6367 6 жыл бұрын
Sir, you are perfect. Think you.
@anandathakur4937
@anandathakur4937 4 жыл бұрын
If I run from intellij my latest changes are not reflecting each time I need to do clean install. Any idea
@franciscorobsondeoliveirad7023
@franciscorobsondeoliveirad7023 Жыл бұрын
Thanks to share this content!
@DavidMwangikamau
@DavidMwangikamau 6 жыл бұрын
This is well done. Thank you!
@npggreat
@npggreat 7 жыл бұрын
Thank you so much, this was very helpful a lot of questions got cleared, I wanted to ask if you can redirect me where I can read all this stuff and learn more about Why&How Spring configuration. a request if you can please make a detailed tutorial about Maven and explain Maven Repositories, Dependency Management and choosing correct Scope for dependencies.
@ovlety
@ovlety 6 жыл бұрын
hI Romanian Coder, what do u think about if is possible to have this type applicaction for example: one Module for Supplier, other Module for Customer, other for Security etc, i mean to say is good idea to have some like difrent Modules in large scale app? excelent all your videos, i follow
@RomanianCoder
@RomanianCoder 6 жыл бұрын
I think it's a good oractice to split a compkex app into well defined modules that model a single concept;) Practice will let you know the size of the modules, so don't be afraid to experiment. Thanks a lot for tge comment :)
@ovlety
@ovlety 6 жыл бұрын
@@RomanianCoder yes experiment is the best to have experience and clear concepts, thanks great job!
@umeshchavan8215
@umeshchavan8215 5 жыл бұрын
Hello can we get it done by using java 9 modular approach in springboot application?
@keycuevasm
@keycuevasm Жыл бұрын
Genial! Buen video 👍🏼
@bhupeshkumar8085
@bhupeshkumar8085 5 жыл бұрын
Hello,I did everything according to instructions but I am getting error that RC.web does not exist.
@spomprt
@spomprt 5 жыл бұрын
Thank you, this video strongly helped me!
@AliAsad-cr5bc
@AliAsad-cr5bc 2 жыл бұрын
Very helpful. Thank you!
@MarcinMarczyk89
@MarcinMarczyk89 7 жыл бұрын
in which module should i put services?
@rabinawal76
@rabinawal76 5 жыл бұрын
When two micro-services interact then sometimes they have same domain objects for communication., so there is a duplicacy of code. How can we avoid same domain object in 2 microservices using this multi module approach ?
@SohailKhan-gu2du
@SohailKhan-gu2du 3 жыл бұрын
Hey man.... U r very knowledgeable.. Can u create some. Complex apps... Using spring boot.. Kafka.. Multi threading n all.... Like handling huge traffics of request... Apart from this simple crud apps
@ertogrulselimli3139
@ertogrulselimli3139 7 жыл бұрын
Sorry for this but i should correct your mistake ,instead of putting spring-boot-maven-plugin in the parent pom,You should put in only starter project,because ,other projects intherits it from root and when there is no starter class maven gives error
@RomanianCoder
@RomanianCoder 7 жыл бұрын
Thank you for the feedback. I always learn something new :)
@ertogrulselimli3139
@ertogrulselimli3139 7 жыл бұрын
Thank you too,Actually there are many ways of creating multimodule project for Spring boot,Spring Roo has its great shell command for this, try check it
@amabentil920
@amabentil920 2 жыл бұрын
Thank you very much
@831Sakura
@831Sakura 6 жыл бұрын
Why I got error on this.productRepository.save(products); "Inferred type 'S' for type parameter 'S' is not within its bound."?
@BobbyFu
@BobbyFu 6 жыл бұрын
If you're using Spring Boot 2.0 version, use this.productRepository.saveAll(products) method.
@ayoshebby5118
@ayoshebby5118 6 жыл бұрын
Would you call this microservice style development?
@mnsnows
@mnsnows 4 жыл бұрын
Thanks for the video is usefull and explanation is really nice. Thanks for share
@roronoa_d_law1075
@roronoa_d_law1075 2 жыл бұрын
21:44 we don't see the errors :D
@rajsekarm2001
@rajsekarm2001 7 жыл бұрын
Hi RC, I want to create a war file out of this project and need to place this war inside tomcat. Please explain what all changes i have to make to get war file out of it and place it in tomcat server. Regards, Rajasekar M
@RomanianCoder
@RomanianCoder 7 жыл бұрын
Hello, You can check out my video on how to deploy spring boot apps on tomcat, as war ;)
@roronoa_d_law1075
@roronoa_d_law1075 2 жыл бұрын
what if the root module is not the web module ?
@hopskiprepeat
@hopskiprepeat 2 жыл бұрын
Thank you very much!
@axelrod4840
@axelrod4840 4 жыл бұрын
How to test different modules?)
@hareeshkumargoli6638
@hareeshkumargoli6638 4 жыл бұрын
What is the custom URL sir ?
@MrTalJacob
@MrTalJacob 3 жыл бұрын
Helped me soooo much!!! wowww!!!
@ArvindVerma-ct7oq
@ArvindVerma-ct7oq 6 жыл бұрын
Great Video thanks a lot
@yhjhoo1986
@yhjhoo1986 3 жыл бұрын
Resolved my 2 days problem
@feliperosa1885
@feliperosa1885 6 жыл бұрын
Good content :)
@chenhaihu6893
@chenhaihu6893 6 жыл бұрын
Can we have one annotation @ComponentScan for everything?
@kennylaw6103
@kennylaw6103 5 жыл бұрын
Probably not. I used @ComponentScan(basePackages="rc") only and saw the same error saying "a bean of type 'rc.persistence.HotelRepository' that could not be found".
@ilyailyukou7895
@ilyailyukou7895 3 жыл бұрын
thank you
@lts8683
@lts8683 3 жыл бұрын
thanks you
@enmanuelrodriguezpaz7445
@enmanuelrodriguezpaz7445 3 жыл бұрын
Thank you
Create a Spring Boot Application Using MongoDB [Intermediate Spring Boot]
51:01
Dan Geabunea (Romanian Coder)
Рет қаралды 94 М.
Человек паук уже не тот
00:32
Miracle
Рет қаралды 3,6 МЛН
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 28 МЛН
Mia Boyka х Карен Акопян | ЧТО БЫЛО ДАЛЬШЕ?
1:21:14
Что было дальше?
Рет қаралды 9 МЛН
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18
How to Deploy a Spring Boot Application on Tomcat as a WAR Package [Intermediate Spring Boot]
28:43
How to Create Springboot Multi Module Project in IntelliJ IDEA
29:38
Spring Modulith - Spring for the Architecturally Curious Developer
1:11:08
Modules, Spring Boot and Java 14
23:56
Laur Spilca
Рет қаралды 3,3 М.
Человек паук уже не тот
00:32
Miracle
Рет қаралды 3,6 МЛН