This is the most concise tutorial I ever seen regarding generating multi module maven project.
@RomanianCoder6 жыл бұрын
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.
@tianshiliao53727 жыл бұрын
Well organized and presented. By far the best lecture i've ever seen on youtube regarding spring boot. keep it up
@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 😄
@domenicosannino41645 жыл бұрын
Congratulations these tutorials are very clear, and done professionally, it is a pleasure to follow them
@zombieloffe6 жыл бұрын
Great tutorial, really good job explaining the new features for different spring and intellij versions. Keep up the good work!
@iAbhinavSinghal3 жыл бұрын
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.
@adamkalisz73172 жыл бұрын
Very helpful and simple to understand, thank you!
@박충희-u9o6 жыл бұрын
Clear tutorial! I solved all my blocked issue after watch this video.
@Mohamed-uf5jh6 жыл бұрын
Thanks Romanian, you explain absolutly good, and perfect example
@IraqAllFor7 жыл бұрын
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
@trapmusic90143 жыл бұрын
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.
@pravinabhale47244 жыл бұрын
Thank You, Romanian, for your neat and nice explanation. It really helps us in building a scalable application. Thank you once again.
@aminkamal39387 жыл бұрын
Thank for this demo. It helped me a lot for an ongoing project
@RomanianCoder7 жыл бұрын
Hello, Amin! Very glad to hear it :)
@basheeral-momani20326 жыл бұрын
thanks a lot mr Romanian Coder for this awesome tutorial, it's my pleasure to subscribe to your awesome channel
@ent.subirsaha5 жыл бұрын
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.
@RomanianCoder5 жыл бұрын
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.
@AkshaySinghi7 жыл бұрын
Thanks Man great video. But one question how should i create an maven pom project (Parent module) in Spring tool suite
@RomanianCoder7 жыл бұрын
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.
@nayanarora68275 жыл бұрын
Thank you so much for this wonderful tutorial. Just wondering why running mvn clean install command fails on the persistence project?
@raymondmouthaan63357 жыл бұрын
Thank you, very nice to follow your tutorials!
@meghan17986 жыл бұрын
Thanks for this amazing tutorial, the explanation was quite pellucid , really appreciate your efforts!!
@RomanianCoder6 жыл бұрын
Thank you very much:) Can i ask you what other courses would make this channel even more helpful?
@kaidobit69544 жыл бұрын
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?
@dmitrymaur71867 жыл бұрын
Your videos are really awesome. I look forward to your new videos=) Ty.
@RomanianCoder7 жыл бұрын
Thank you very much, Dmitry! I appreciate it;)
@revanthmadishetty37306 жыл бұрын
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
@RomanianCoder6 жыл бұрын
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 :(
@rabinawal765 жыл бұрын
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?
@apamuce5 жыл бұрын
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
@RomanianCoder5 жыл бұрын
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.
@apamuce5 жыл бұрын
@@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-uf9hi3 ай бұрын
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
@adityamajety87117 жыл бұрын
Good stuff and Well explained. Thankyou RC!
@RomanianCoder7 жыл бұрын
Hello! I am really glad that you found the tutorial useful;)
@anushilsharma97773 жыл бұрын
Very good RC, best wishes.
@way2arvind6 жыл бұрын
thanks for such a good tutorial, it's really easy to understand.
@360Legion5 жыл бұрын
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?
@RomanianCoder5 жыл бұрын
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.
@nelsonoliveira49763 жыл бұрын
Great tutorial. can you show one project with modular monolithic using spring ?
@oleksandr32755 жыл бұрын
Thank you so much. I enjoyed listening and watching your video tutorial !
@MrProfeDNY5 жыл бұрын
Can you do a tutorial on how to integrate this same project with CircleCI?
@RomanianCoder5 жыл бұрын
Hello! Unfortunately, I do not have xp with circle ci, so I can not do a video on this topic :(
@ismaeldomingosjunior1856 жыл бұрын
simple and objective, congratulations!
@andreialexandru70277 жыл бұрын
Great! Thank you very much! Keep up the good work :)
@BobbyFu5 жыл бұрын
Hi Romanian Coder, can you create the same Spring Boot projects using multiple Gradle modules? I'm having problems creating this project. Thanks.
@vanilsondonascimentodoming97955 жыл бұрын
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)???
@Pumazr6 жыл бұрын
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.
@RomanianCoder6 жыл бұрын
I am happy yo hear this :D Thank you for the comment.
@khayalian4 жыл бұрын
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
@klaudiasocha84046 жыл бұрын
Awesome Tutorial, but I still have a question, how do I make @RequestMapping ("/ hotels / {id}")?
@RomanianCoder6 жыл бұрын
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.
@klaudiasocha84046 жыл бұрын
Thanks, you helped me a lot. :)
@chaosknn38857 жыл бұрын
Thank you very much! This is the very video I want.
@RomanianCoder7 жыл бұрын
Hello Chao! I am really happy that it was useful to you!
@Sam-iv7ml5 жыл бұрын
Very good tutorial...is there a book where i can learn more about it
@hablahei16 жыл бұрын
Great tutorial!
@ray58436 жыл бұрын
I have a question, how to config unit testing in DataAccess module and BizLogic module?
@muradsatimov1556 жыл бұрын
Hi very good tutorial. Thanks. I want to put database connection settings in domain module "application.properties" file. I tried but no result
@RomanianCoder6 жыл бұрын
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 ;)
@nikosc6 жыл бұрын
yes, but how do you do integration testing on modules separately?
@RomanianCoder6 жыл бұрын
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 ;)
@thiagomatar79426 жыл бұрын
Thks guy, awesome tutorial
@harishpathipati71976 жыл бұрын
This is cool and neat. Thanks man
@hatemkhlifi63676 жыл бұрын
Sir, you are perfect. Think you.
@anandathakur49374 жыл бұрын
If I run from intellij my latest changes are not reflecting each time I need to do clean install. Any idea
@franciscorobsondeoliveirad7023 Жыл бұрын
Thanks to share this content!
@DavidMwangikamau6 жыл бұрын
This is well done. Thank you!
@npggreat7 жыл бұрын
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.
@ovlety6 жыл бұрын
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
@RomanianCoder6 жыл бұрын
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 :)
@ovlety6 жыл бұрын
@@RomanianCoder yes experiment is the best to have experience and clear concepts, thanks great job!
@umeshchavan82155 жыл бұрын
Hello can we get it done by using java 9 modular approach in springboot application?
@keycuevasm Жыл бұрын
Genial! Buen video 👍🏼
@bhupeshkumar80855 жыл бұрын
Hello,I did everything according to instructions but I am getting error that RC.web does not exist.
@spomprt5 жыл бұрын
Thank you, this video strongly helped me!
@AliAsad-cr5bc2 жыл бұрын
Very helpful. Thank you!
@MarcinMarczyk897 жыл бұрын
in which module should i put services?
@rabinawal765 жыл бұрын
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-gu2du3 жыл бұрын
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
@ertogrulselimli31397 жыл бұрын
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
@RomanianCoder7 жыл бұрын
Thank you for the feedback. I always learn something new :)
@ertogrulselimli31397 жыл бұрын
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
@amabentil9202 жыл бұрын
Thank you very much
@831Sakura6 жыл бұрын
Why I got error on this.productRepository.save(products); "Inferred type 'S' for type parameter 'S' is not within its bound."?
@BobbyFu6 жыл бұрын
If you're using Spring Boot 2.0 version, use this.productRepository.saveAll(products) method.
@ayoshebby51186 жыл бұрын
Would you call this microservice style development?
@mnsnows4 жыл бұрын
Thanks for the video is usefull and explanation is really nice. Thanks for share
@roronoa_d_law10752 жыл бұрын
21:44 we don't see the errors :D
@rajsekarm20017 жыл бұрын
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
@RomanianCoder7 жыл бұрын
Hello, You can check out my video on how to deploy spring boot apps on tomcat, as war ;)
@roronoa_d_law10752 жыл бұрын
what if the root module is not the web module ?
@hopskiprepeat2 жыл бұрын
Thank you very much!
@axelrod48404 жыл бұрын
How to test different modules?)
@hareeshkumargoli66384 жыл бұрын
What is the custom URL sir ?
@MrTalJacob3 жыл бұрын
Helped me soooo much!!! wowww!!!
@ArvindVerma-ct7oq6 жыл бұрын
Great Video thanks a lot
@yhjhoo19863 жыл бұрын
Resolved my 2 days problem
@feliperosa18856 жыл бұрын
Good content :)
@chenhaihu68936 жыл бұрын
Can we have one annotation @ComponentScan for everything?
@kennylaw61035 жыл бұрын
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".