Getting Started with GPT-4o in Java
13:36
I have been named a Java Champion
16:40
Пікірлер
@ewoks42
@ewoks42 19 сағат бұрын
Great tips @DanVega regarding handling errors video you mentioned at 13:40, is that one already published? tnx
@bibahbibah5108
@bibahbibah5108 Күн бұрын
spring boot 3.2 has very nice futures. it's a remplacement of feign dependencies, i hope that we can do wht feign do (headers and interceptor )
@RaphaelDeLio
@RaphaelDeLio Күн бұрын
Thats an amazing point of view
@rarecase3666
@rarecase3666 Күн бұрын
You are right.... Spring Security tutorials shows that people try to understand but cannot make it working... Spring Security Team also makes it very challenging to build something with it. Thank you, Dave, for your tutorial - it really helped to make it working.
@deeplife9654
@deeplife9654 Күн бұрын
Can you get the GitHub link of the project?
@bitsofdevbrain
@bitsofdevbrain Күн бұрын
What about the "Resource Oriented design principle" used for designing the REST endpoints? It says that the endpoints should be named after the resources that they are dealing with. But when we are dealing with multiple resources, it says we should use nested endpoints following the resource hierarchy? Is it necessary to follow these?
@antonyrichard369
@antonyrichard369 Күн бұрын
Great content
@natureloverJ
@natureloverJ 2 күн бұрын
Hi Dan, Smart stuff always with concise words. One question. What is the http command prompt you use for rest api testing from the IntelliJ console ? I searched and found many, please tell me which one you are using?
@BrunoSturniolo
@BrunoSturniolo 2 күн бұрын
why you have color in your output console? i have to add the line in the .properties; spring.output.ansi.enabled=Always How do you do to do it by default?
@vijayjangid8967
@vijayjangid8967 2 күн бұрын
I earn 60 thousand monthly but I don't wear Zudio 😂
@sadiulhakim7814
@sadiulhakim7814 2 күн бұрын
Can i use Virtual Thread in every case? Is there any case where i cannot (should not) use Virtual Threads?
@PhilipStarritt
@PhilipStarritt 3 күн бұрын
Congratulations Dan - well deserved 👏
@ahmadshlool5803
@ahmadshlool5803 3 күн бұрын
Super Dan, your tutorial is powerful! Keep diving deeper! I've got a comment about JDBC - why stick with it when we're all about Spring? Let's Spring Data our way to glory! 🤪🌱
@ahmadshlool5803
@ahmadshlool5803 3 күн бұрын
Thanks a lot, Dan! These series are truly impressive and impactful. I have a question about RAG. What are the benefits of supplying the questions and answers ourselves? Where does the AI's strength lie in this scenario? For instance, when you asked about counting sports, the response was 'NA' and it provided the list we inputted. We envision being able to ask you about anything within the text I've included. I might sound a bit eager, but I'm keen to explore its capabilities and potential applications 😁😁
@PatrickCornelien
@PatrickCornelien 3 күн бұрын
@DanVega all popups and code-completion overlays are not in your video. You might want up tweak your video capture configuration ;-)
@Isranaks
@Isranaks 3 күн бұрын
Hello @dan vega, how to invoke oracle stored procedures through jdbcclient with in and out params
@paulhetherington3854
@paulhetherington3854 4 күн бұрын
/krch dsk bean < R'(4''tvk''btx ruch)< ~tmp2''kf(2 inch 824x) @ rdsk~II tmp p''TdDxn gml rul txt tun//J namz krch 4''Rtvk abv + 2''UI' kol rul vd sim LN'' < rdacht~tmp p''2'(xvtn) rtun bean/ /rbean dsk~tmp snd ruch vF8''btz dach txt tn R2''p~ K' rch + frch vktd rbean rul~tmp < txt tun ad cmd~gml + wn ml//+ hlf ruch < 28''frch contnt fiji kalchz rdsk - 4''tvk - fz 2''UI' id - txt tun - verifcate/
@avonzo
@avonzo 4 күн бұрын
How did you get the KZbin Data to compile in the native binaries? I am getting reflection issues there and my code even though works in normal Java, the native compiled version doesn't seem to have necessary Jackson (JSON parser) constructors in there resulting IllegalArgumentException for GoogleClientSecrets object. Exact error:: Caused by: java.lang.IllegalArgumentException: unable to create new instance of class com.google.api.client.googleapis.auth.oauth2.GoogleClientSecrets because it has no accessible default constructor at com.google.api.client.util.Types.handleExceptionForNewInstance(Types.java:162)
@stephaneislistening6103
@stephaneislistening6103 4 күн бұрын
On SpringBoot 3.3.0 here and the OpenAI API seems to have changed quite a bit already in a month since this video was published.
@stephaneislistening6103
@stephaneislistening6103 4 күн бұрын
And so the chatClient bean could not be found, with the default implementation being: class DefaultChatClient implements ChatClient
@yevgeny3985
@yevgeny3985 4 күн бұрын
great video,! is there a more elegant way to write tests?
@filippoalimonda4449
@filippoalimonda4449 4 күн бұрын
Has it been removed from the list of available Extensions?
@stephaneislistening6103
@stephaneislistening6103 4 күн бұрын
In my case i could not get the Rollback annotation to roll back so as to remove the added post in the successful test case, which caused a failed count on the find all test case of 101 instead of 100.
@garethbaker5179
@garethbaker5179 4 күн бұрын
Regarding the Todo class, I would rather use all primitives because they are given a default value (except String of course) and I can use the default values of the class for checking certain things such as if Todo.id is equal to zero then I know it didnt come from the database because normally primary keys start with a value of 1 or more. In addition I prefer every class variable to be initialized to at least something to avoid a null pointer which is why I often create a default constructor and it signals to other developers what the defaults of the class are. I havent needed to work much with Threads, caching or high levels of performance so immutable objects are a rare occurrence with my work, however I use final a lot on objects being passed to methods and class level objects and constructors. As an aside to the video I prefer to use primitives on methods for parameters in Apis so that internal objects are not exposed to the outside world. Interesting video, glad I learnt something about Records.
@thebest-cr2sb
@thebest-cr2sb 4 күн бұрын
is it possible to do a packaging by layer inside the features , in my case i have a lot of DTOs and and sevral repositories since the feature containe many entities , and i want to know is it correct to split them by layers inside the feature package ?
@mwigojonathanmark1683
@mwigojonathanmark1683 4 күн бұрын
Spring Security breaks the native image execution
@curio78
@curio78 5 күн бұрын
why is the native image still so big? 6 mb for one line code to say hello.
@wicklowwoods
@wicklowwoods 5 күн бұрын
really helpful and so well explained. thanks a million :)
@cricket_lover_419
@cricket_lover_419 5 күн бұрын
why spring security dependency was not used. is oauth acting as a security module here?
@albertoginelsalvador2172
@albertoginelsalvador2172 5 күн бұрын
Please don't use IntelliJ Ultimate for a tutorial!
@swarajgore8012
@swarajgore8012 7 күн бұрын
Hi Dan, couldn't find the "getting started with maven link"
@joeabraham6529
@joeabraham6529 7 күн бұрын
@DanVega ChatClient is moved to ChatModel
@JP-debugger
@JP-debugger 7 күн бұрын
Hi @DanVega please do a tutorial on consuming soap webservices with spring. Thank you so much
@sefumies
@sefumies 7 күн бұрын
The Actuator integration in IntelliJ ultimate is fantastic to go through all these actuator endpoints!
@stephaneislistening6103
@stephaneislistening6103 8 күн бұрын
Hi Dan, again thanks for that session, it was easy to follow and I could see the requests being sent and received with the web client on my local host. As a GraphQL noob Iand as an old Spring grunt still wonder why would I expose the controllers to a GraphQL client. Why not using REST for the client calls ? What GraphQL adds that would be helpful to the client ? Why a client would want to send GraphQL requests instead of REST ones ? And in fact, can a client, that is known to send REST requests, also send GraphQL requests at all ? Thanks for the awesome effort of yours ! I shall continue in the series and hopefully start playing with AI on your sessions. Cheers, Stephane, France
@stephaneislistening6103
@stephaneislistening6103 8 күн бұрын
Hi Dan, I now see your Up and Running with Spring for GraphQL blog post. It should probably answer these questions 🙂 Thanks !
@stephaneislistening6103
@stephaneislistening6103 9 күн бұрын
Dan rules !
@stephaneislistening6103
@stephaneislistening6103 9 күн бұрын
Merci Dan ! It was some good fun !
@user-jq6mt1wc7t
@user-jq6mt1wc7t 9 күн бұрын
Great video, thank you for making such good content
@robertinnoelson6378
@robertinnoelson6378 9 күн бұрын
Awesome Dan! Thanks for the rich tutorial
@stefanoforgiarini339
@stefanoforgiarini339 10 күн бұрын
The best explanation on spring boot and integration tests with testcontainer. Your videos are so precious. Thank you so much
@AzizAzizli-bt8sm
@AzizAzizli-bt8sm 11 күн бұрын
Hi Dan, First of all thank you for the useful video. I have question, How can we extract claims from tokens?
@amirhosseinbayat9657
@amirhosseinbayat9657 12 күн бұрын
Hey Dan, it's amazing, but is there any mechanism in order the user logged out of the system, how we can invalidate the user token?
@backtoGodhead0
@backtoGodhead0 13 күн бұрын
so cool, God bless you!
@stefanoforgiarini339
@stefanoforgiarini339 13 күн бұрын
Great content! Thank you Dan for sharing your knowledge
@rsobies
@rsobies 13 күн бұрын
be aware of graalvm, it is unreliable, example objectMapper.writeValueAsString doesn't work on native image it always returns: {}
@huw1676
@huw1676 13 күн бұрын
This is really good, and exactly what I needed. Thank you for making this straightforward and easy to understand.
@stephaneislistening6103
@stephaneislistening6103 13 күн бұрын
Very cool Thanks !
@marcosgarcia179
@marcosgarcia179 13 күн бұрын
Jdbc client is incredible, is very easy to work
@KangoV
@KangoV 14 күн бұрын
Records can also be declared inside a method
@avalagum7957
@avalagum7957 14 күн бұрын
Why is this app too long? This can be done with 1 long line (or a few short lines) in curl or httpie.
@Isranaks
@Isranaks 14 күн бұрын
Started watching ur videos. Its more informative. From Chennai, Tamil Nadu, India