Тёмный
Spring I/O
Spring I/O
Spring I/O
Подписаться
Spring I/O conference in Barcelona
Комментарии
@kukukudoes458
@kukukudoes458 День назад
the only thing i absolutely hate about java is the lack of async await reactive programming is not nice to work with in java reactor
@39vignesh.m35
@39vignesh.m35 6 дней назад
Any buddy help. I get empty list in postman response when i mapping model class to dto build using spring native build and build use jvm it works...🤔
@chethand.n.7384
@chethand.n.7384 6 дней назад
awesome explanation of virtual threads !! thanks for this :)
@NilsElHimoud
@NilsElHimoud 10 дней назад
TIL ApplicationModuleTest. This is what I was looking for for so long. The vertical slices that allow me to focus my tests on a single module. Great!
@isbey9595
@isbey9595 11 дней назад
There is something codesmell I think. Domain layer should be written as pure as possible. Repository definition and entity definitions violate something here.Tests of the domain layer should also be written independently. But there is JPA dependency here.
@ajs9721
@ajs9721 12 дней назад
Regardless if you end up going with Spring Cloud Gateway, it is a great way to your head around the nitty-gritty of API Gateways.
@FiruzzZ-777
@FiruzzZ-777 12 дней назад
so all the control/validation/restrictions/events will be in an Entity/POJO, services and business layers are empty :/ ... you manage the entire flow of a project by the actions performed against "the domain"
@selcanhuseynli1090
@selcanhuseynli1090 15 дней назад
So much information was conveyed in a single talk. Fantastic presentation!
@TheDoppelganger29
@TheDoppelganger29 17 дней назад
Jesus Christ, we have SQL, why are people so obsessed to complicate things so much. They literally created a thing that replicates SQL when we can just use SQL and map the result to a class
@adityaj21
@adityaj21 18 дней назад
great talk is it possible to get the vite + spring repo for reference?
@fonfux0123
@fonfux0123 18 дней назад
Essa abordagem serve para todos os modelos de banco ou há algum diferencial entre eles por exemplo o Oracle?
@RafaelPonte
@RafaelPonte 18 дней назад
Obrigado pelo comentário! 😊 Eu discuti vários problemas e soluções na talk, e a maioria roda bem com a maioria dos bancos relacionais, mas podem sim haver nuances. De qual abordagem vc fala exatamente?
@fonfux0123
@fonfux0123 18 дней назад
⁠bom dia Rafael eu tentei usando Oracle 12c subindo 2 instâncias no ecs mas ao executar um job que busca do banco e publica em um tópico as instâncias trazem registros repetidos! Parabéns pela live de ontem no deveficiente! Agora tb serei seu aluno lá
@RafaelPonte
@RafaelPonte 17 дней назад
@@fonfux0123 valeu! então, Oracle suporta bem o que discuti na talk. Como está o SELECT executado pela aplicação? Ele está sendo gerado FOR UPDATE ou FOR UPDATE SKIP LOCKED?
@fonfux0123
@fonfux0123 17 дней назад
@@RafaelPonte com for update skip locked! acho que tem algo a ver com os cursores do oracle como funcionam! posso estar enganado! ou entao o fato de eu estar delimitando a qtd de registros da consulta e ele so da o lock depois de obter o resulta pra cada uma das linhas
@RafaelPonte
@RafaelPonte 17 дней назад
@@fonfux0123 Entendi. Isso é verdade. No caso do SKIP LOCKED, o Oracle somente faz o locking durante o fetching do registro, e não durante a seleção (filtering) do mesmo. Mas isso normalmente acontece quando você está manipulando explicitamente cursores via PL/SQL ou alguma API de persistência. Aqui nessa outra talk sobre SKIP LOCKED focada em Oracle, eu comento essa "limitação": ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-8DVFc7gXfIQ.html Espero que ajude!
@jackpettman7848
@jackpettman7848 19 дней назад
I built my business on spring, couldn't have done it without all the open source community
@emailgpc
@emailgpc 19 дней назад
Hmm I did not get this topic. JPA is ORM, Object-Relational Mapping . Some implements JPA because we want to look all tiers including DB/table part as object view. I feel he is trying to do JDBC as ORM. I would consider DAO pattern to solve it. Nothing right or wrong, it likes EJB, CMP vs BMP.
@aurevoir641
@aurevoir641 19 дней назад
normal people at 5 am: sleeps devs at 5 am: watches this video
@tejeshwar.p
@tejeshwar.p 21 день назад
Is it possible to use Spring AI with local LLMs using Ollama?
@Beny_gx
@Beny_gx 21 день назад
If one uses jpa entity classes that need mapping to domain objects there will be quite so code gymnastics to lazy load collections because mapping them will always result in an eager fetch
@AbdelrhmanHussien-sx8vb
@AbdelrhmanHussien-sx8vb 25 дней назад
I feel like if I found a treasure
@emileastih9006
@emileastih9006 26 дней назад
Thank you for the insightful talk! I appreciate the points made, but I respectfully disagree with Oliver’s statement around minute 17 regarding the necessity of using jMolecules to define aggregate roots. In my experience with Spring Data JPA and Domain-Driven Design (DDD), we can effectively define aggregate roots by leveraging the `AbstractAggregateRoot` class provided by Spring Data, without needing to rely on jMolecules. This approach works well for managing domain events and maintaining the boundaries of the aggregate in a clean, straightforward manner.
@theritesh973
@theritesh973 28 дней назад
❤❤❤
@Stefan-lr6xo
@Stefan-lr6xo Месяц назад
This little maneuver is going to set us back 15 years..
@SandeepPrajapati-xu9ru
@SandeepPrajapati-xu9ru Месяц назад
please share code link
@scerrisebastien
@scerrisebastien Месяц назад
Interesting but Domain driven design I still don't get the benefits on micro services at least. A lot of classes and complexity. Yes small classes are simpler to maintain. Anyway I will continue the journey with the videos you mentioned.
@TheSowikHD
@TheSowikHD Месяц назад
I would say this talk is great for beginners. He explains the subject very well but you'd already know most of the stuff he talks about if you've written tests.
@theritesh973
@theritesh973 Месяц назад
❤❤❤
@nandomax3
@nandomax3 Месяц назад
I tried learning spring Security via doc and it was terrible hahaha 🤣 I got a tutorial on the internet from amigoscode and now I advocate forthe usage of spring security
@theritesh973
@theritesh973 Месяц назад
❤❤❤
@user-ex3ek9rf2u
@user-ex3ek9rf2u Месяц назад
Is this on production now, and where i will get that what i need to add in pom.xml file what are those
@singhjaspreetb
@singhjaspreetb Месяц назад
Really Helpful :)
@puraverdad2022
@puraverdad2022 Месяц назад
I really enjoyed the Video but did anyone tested it? Note I like the concepts provided and agree in most of them but checking DomainEventListener located under application or Catalog module fails modulith verification with the LoanCreated and Closed events from Lending module: - Module 'catalog' depends on non-exposed type library.lending.domain.LoanCreated within module 'lending'! LoanCreated declares parameter LoanCreated.handle(LoanCreated) in (DomainEventListener.java:0)
@simongeard4824
@simongeard4824 Месяц назад
As a side note, the original example program has one further problem which wasn't discussed - if the job runs every 60 seconds, what happens if it takes more than 60 seconds to complete, giving you unintended parallel processing? I've been bitten by that one a few times...
@RafaelPonte
@RafaelPonte Месяц назад
Thanks for the comment! 😊 In the context of the talk, this is not an issue. I mean, Spring will not allow running multiple jobs for the same task, even if it takes longer than 60 sec. But if the method is annotated with @Async then we can not say the same 😬
@simongeard4824
@simongeard4824 Месяц назад
@@RafaelPonte Fair enough... you're right that a good scheduler will avoid the problem (for sync operations, at least). My negative experiences have typically been with more naive scheduling tools...
@OsamudiamenOjo
@OsamudiamenOjo Месяц назад
Does spring security has support for webauthn now?
@soheiljahangirie2477
@soheiljahangirie2477 Месяц назад
That was a great presentation. learned a lot
@matthewmoore5934
@matthewmoore5934 Месяц назад
Great video! Under the heading of "more functional" I do wish Urs had mentioned the fact that many more things are expressions in Kotlin than in Java. For example, try, if, and when among others all return a value. This eliminates the all-too-common and error prone pattern of creating a local variable initialized to null upstream of a block, and then assigning to it inside a conditionally-executed block. Instead, the if/else or try/catch itself returns a value. This contributes to concision, safety, and readability.
@hasan0770816268
@hasan0770816268 Месяц назад
That remove example was bonkers! using lists should not have that much of a performance penalty!
@tilekzholdoshbek726
@tilekzholdoshbek726 Месяц назад
spectacular explanation with clear and simple to comprehend demos
@tahahajivand1843
@tahahajivand1843 Месяц назад
it was so good. thanks
@RafaelPonte
@RafaelPonte Месяц назад
I am glad you liked 😊
@alexisnarvaez
@alexisnarvaez Месяц назад
This is truly and event sourcing revolution. The condictional append is better than just enabling multi stream transactions at the persistence layer. Thanks Sara Pellegrini and Milan Savic
@popastefan6542
@popastefan6542 Месяц назад
36:48 Actually in our example, each instance will fight for first 50 records, not one record as it is illustrated in the slide.
@RafaelPonte
@RafaelPonte Месяц назад
Thanks for the comment. Yeah, you're right. The number of rows is unimportant in understanding how the SQL feature works. The idea was to be didactic and straightforward.
@knoppix20
@knoppix20 Месяц назад
26:34, 31:59, 32:14, 36:04, 40:31 - key moments
@RafaelPonte
@RafaelPonte Месяц назад
Thanks for the comment and for pointing out the key moments ☺️
@knoppix20
@knoppix20 Месяц назад
Ola. Todo bem
@RafaelPonte
@RafaelPonte Месяц назад
Tudo ótimo ☺️☺️
@felipedspereira
@felipedspereira Месяц назад
Very good presentation 👏correct me if I'm wrong, but for the issue at minute 30:58 a simpler solution would be using @MockBean Clock clock;
@clementowireku-bogyah5126
@clementowireku-bogyah5126 Месяц назад
I love this man soo much.
@ayrton494
@ayrton494 Месяц назад
How to use it with Hibernate 6? LockOptions.SKIP_LOCKED is deprecated
@RafaelPonte
@RafaelPonte Месяц назад
Something happened with my comment. It got lost for some reason 😵‍💫 You can use the LockMode.UPGRADE_SKIPLOCKED enum instead ☺️
@Alex-gj2uz
@Alex-gj2uz Месяц назад
I found the idea of coding the implementation as userstories / usecases extremely insightfull, seeems to work really well with ddd. Goes hand in hand with good architecture documentation and requirements engineering and is pretty good from a perspective as "code as documentation". Never thought of this. Its roughly at timecode 34:30
@atrucktive
@atrucktive Месяц назад
25:27 DDD code review. - You don’t need to RE-validate the ISBN value object. - Domain coupled to infrastructure (framework)
@atrucktive
@atrucktive Месяц назад
Good Job 👏🏽 helping and empowering Spring Developers. Just to point out to think our decisions. 24:12 Domain coupled to infrastructure. - You can not port this domain to other framework. Trade off or Smell ? You could dispatch a domain exception. `InvalidBookIdException` and get rid of the framework dependency.
@paulorcv
@paulorcv Месяц назад
Very good! thank your for the valuable content!
@RafaelPonte
@RafaelPonte Месяц назад
You are welcome 🤗
@wantedlepota9960
@wantedlepota9960 Месяц назад
So according to Josh, we should have everything in one package/class(controllers, services, repos)???? Let him show us the real-world scenario first
@wantedlepota9960
@wantedlepota9960 Месяц назад
at 26:26 he contradicted himself
@CodingForRealLife
@CodingForRealLife Месяц назад
Amazing persentation, very usefull, thanks Rafael!
@RafaelPonte
@RafaelPonte Месяц назад
You are welcome! 😊
@marcinnnWL
@marcinnnWL Месяц назад
Nice approach to make full-stack life easier.