Тёмный

Modules, Spring Boot and Java 14 

Laur Spilca
Подписаться 24 тыс.
Просмотров 3,4 тыс.
50% 1

In this video, I teach you how to create a modular application using Spring Boot and Java 14. ( You could do this with Java 9 as well but 14 is the latest :))
Enjoy!
Code on GitHub: github.com/lsp...

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@laurspilca
@laurspilca 4 года назад
Code on GitHub: github.com/lspil/youtubechannel/tree/master/springboot-java14-modules
@nikasarchive
@nikasarchive 3 года назад
You are a hellofa great teacher, your channel needs much moooooore views!
@sede189
@sede189 4 года назад
Fantastic video!! Very practical and helpful
@danvisan7017
@danvisan7017 4 года назад
Hello Laurentiu, did you notice any performance improvements regarding CPU and RAM consumption on a modular spring application vs a non modular spring application?
@laurspilca
@laurspilca 4 года назад
Hi Dan, Thanks for the question. Unfortunatelly I didn't do myself any research on this. I have no idea how much using modules would improve CPU and memory but for sure they're an excellent choice in decoupling the functionalities in the app and make it more maintainable as well as avoiding the usual classpath problems (NoClassDefFoundErrors and stuff)
@initToLearn
@initToLearn 2 года назад
helpful video, thanks
@arthurezeagbo3986
@arthurezeagbo3986 Год назад
Thank you.
@dejanristicrica
@dejanristicrica Год назад
Hi! When building from the command line with Java 17 there is an error module-info.java:[3,14] module not found: invoicing. Any idea?
@laurspilca
@laurspilca Год назад
Hello. Thanks for the question. I can only think that you might not have the module path well configured.
@dejanristicrica
@dejanristicrica Год назад
@@laurspilca Do you add some parameters to mvn in the command line when building the project?
@laurspilca
@laurspilca Год назад
@@dejanristicrica Nope. Why should I?
@dejanristicrica
@dejanristicrica Год назад
@@laurspilca I also didn't expect any. But the project is not buildable from the command line. Is there sometnihg additional in pom file needed for modules?
@AnkitYadavnow
@AnkitYadavnow 4 года назад
Can you provide a video with mysql hibernate spring boot with java 9 module
@laurspilca
@laurspilca 4 года назад
Hi Ankit. It works the same as you see presented in this video :) Just change your Java version to 9 and of course you need to avoid using the var word which is available only starting with Java 10. But all the other aspects work the same.
@alohadev4541
@alohadev4541 3 года назад
love from India
@alexandersmirnov4274
@alexandersmirnov4274 4 года назад
Cool video!!!
@AGAGARCIA
@AGAGARCIA Год назад
Great video. Thanks. would like to suggest a good continuation of this video, another one that would include an example of CRUD with modules and testing. One module for entities, another for repositories and an example test using the repositories via modules.
@khajalieubarrie5088
@khajalieubarrie5088 9 месяцев назад
Of course it can be implemented but I think that’s not a good example of using modules with Spring or Java. Use modules to form “Bounded context” separation instead like he did here with “invoicing” and maybe say another context call “order” in a online shopping application for example.
@wilfriduslaki
@wilfriduslaki 4 года назад
could i do this ith java 8?
@laurspilca
@laurspilca 4 года назад
Hi. No. :( Modules appeared in Java 9
Далее
🍃 Introduction to Spring GraphQL with Spring Boot
19:14
Designing for Modularity with Java 9
41:54
Просмотров 4,1 тыс.
Java Modules in Practice with Spring Boot
45:17
Просмотров 15 тыс.
Modular Development with JDK 9 by Alex Buckley
53:12
Просмотров 17 тыс.