Welcome to Java Techie, your ultimate guide to cutting-edge technology! 🚀
Explore the realms of Core Java (versions 7, 8, and 17), Java/J2EE, Spring, Spring Boot, web services, Spring Cloud, microservices, Hibernate, JPA, RDBMS (MySQL), NoSQL (MongoDB, Neo4j, Cassandra), Kafka, RabbitMQ, Angular, React, Docker, Kubernetes, AWS, Azure, and CI/CD tools like Jenkins, GitHub, Splunk, ELK, Sonar, and JMeter.
🤝 Knowledge Exchange:
Java Techie is a two-way street. Join a community passionate about sharing and gaining knowledge. Engage in discussions, ask questions, and let's grow together.
💡 About Me - [JavaTechie]:
Passionate software developer and blogger based in Bangalore, India. I thrive on writing code, exploring new technologies, and sharing experiences globally. Join me on this journey of continuous learning!
🚀 Let's code, learn, and grow together!
"Sharing knowledge is the biggest learning." 🚀 #JavaTechie #CodeWithPassion #TechTutorials
Пікірлер
Very good video. Keep up the good work. Many thanks
haven't found anything simpler on JWT Authentication & Authorization than this video! Kudos. You're so so important for the community! Keep making such videos please.
Thanks for the video. Im just thinking, How do you secure graphql endpoint?
How to save 5 files single API.
Multi file bulk upload need to check. Will update you
Thank you for easy explanation
Plz make video for aws interviews
spr bro
Thank u even i faced this qt
Thank you so much!!
Please help if you can I have implement same as you have provided What i want is to use the api through my react app i have provided bearer token and whatever else that url needs but the error i am getting is cors not allowed for localhost:3000 I tried various thing including providing global cros origin, cros configuration etc I tried putting cros in both microservce as well as in gateway but nothing worked plz help if anyone knows how to fix it
Finally figured it out, if anyone faces this problem then feel free to ask me
very nice video sir. I am able to grasp all the things very clearly. I have a doubt. Actually I am unable to generate jwt token when i try to authenticate it from authentication manager in AuthController class. But when i try to generate jwt token without authentication manager then I am able to generate it. I am unable to figure out the problem. Could you please help. Code : Authentication authenticate = authenticationManager.authenticate(new UsernamePasswordAuthenticationToken(authRequest.getUsername(), authRequest.getPassword())); if(authenticate.isAuthenticated()){ return service.generateToken(authRequest.getUsername()); } else{ throw new RuntimeException("Invalid Access"); } the above code is for the "/auth/token" endpoint where I am unable to find jwt token fetched from database. Please find my github repo link where I have uploaded my full code. link : github.com/Vishal70854/microservice-spring-security/tree/master/identity-service
It is authenticated only when it routes through the gateway. But the end point for the micro services are still open how to secure that?
in this flow can we add authentication using goolge etc.?
Yes absolutely we can
Its a great explanation.I have ever seen.Thank you so much for your efforts♥♥♥♥
Good video.very useful for coding interviews.
please do a video for vault template
Do you have eks video of running multiple apis as a microservice and dependent on an environmental variables. ?? This EKS explanation is a Goldmine.
What if I want to use a frontend application like react and then do these authentication can you create a tutorial for it then?
Spring security inner working just got hammered! So so helpful this kinda visual picture then coding part not vice versa! Thank you so much 🙏🏼 please continue making such internal flow..
I was in hesitation to start learning reactive. But just tried one sample video. Then I looked for the whole c2 hrs video. It's simply superb. The need , why. How when to use reactive you explained is just awesome thanks a lot. One more topic I can add to my resume now
Can u also create aws related questions in similar way that would be very helful....
This is a very good tutorial, easy to understand. It will be helpful if there is a multi micro services.
Okay I will do
Great. I want to pass the cron expression dynamically from the API and also enable disable cron expression scheduling. Could you pls guide?
Which version of IntelliJ IDEA did you use?
2021 🤪
@@Javatechie community edition or Ultimate ?
@martinzumarraga5560 community
@@Javatechie when I want to create a project with Spring Asistant, there’s no Spring Asistant
as coures progress we see less and less views 😀😀😀. but seriously this course is good those of you who completes it helps a lot
@Javatechie, please add part 7 soon, waiting for it
Appreciate your interest buddy. Will definitely continue this series from July first week .
great explanation thank you so much 😍👏
Great
Thank You
Can i get a pdf if these questions sir?
Yes interested in subscription mapping
What If I do not want to create extra tables related to batch job into DB, just want to create Entity class then how to do the same?
Yes you can do that by defining this key and value in yml file spring: batch: initialize-schema: never
awsome
Mr Dependable .... thanks again for the post :)
Can u plz share link for next part...of Annotations
I haven't covered yet . Will plan in July month
whoa this is really easy to understand! I have one more question though, what if i want to sort and filter a field with value... let's say we have a field called inventory and i want to filter the data that has < 5 inventory ?
It's simple right call findAll and sort by field which you want. That's what I have explained please check once
Hi Basant sir, in this implantation what method of SSO is basically used, is it SAML? or OpenIDConnect? how do we know? have you had more detailed video on this topic?
Hi Basant, Recently I got one question from interview that, will it create bucket of 16 when you create map instance? I did debug the code and found that it creates bucket when you first element into map. your explaination at 1:00
That's correct but will cross validate and update you
So Beautiful, Makes so much sense
Hi brother.. nice content... Just wanted to confirm any plans for DGS graphql or apollo graphql because I saw these are widely used in a big enterprise project .. also in my previous project we were having Apollo graphlql gateway for all scheme registry .. as it is required in case if we have multiple graphql microservices.. just wanted to get indepth in that .. and through your teaching it will be possible definitely .. 🙂
I haven't explore them yet but will upgrade and update you
@@Javatechie sure brother .. appreciate your hardwork
Extremely helpful. Please keep making video like this. A humble request!!!
for excel file we can use the same class FlatFileItemReader or this is only for csv file?
Almost same code will work
Mega Star (Basant): Thank you for this information. I have a doubt. As virtual threads are residing in heap memory. if we increase the count of virtual threads then heap memory increases which leads to JVM performance issues. So what is the secret/logic/magic exists without having JVM performance issues . can you pls tell me in brief ?
Yes you are absolutely correct Virtual threads have a smaller memory footprint compared to traditional (OS) threads. However, each virtual thread still consumes some heap memory for its stack and associated objects. Increasing the number of virtual threads will increase the total heap memory usage. but still we can play with memory tuning to mitigate it partially like Ensuring virtual threads are not lingering unnecessarily. Properly manage the lifecycle of virtual threads to release resources as soon as they are no longer needed.also we can think about improving GC algo to make it better by profiling memory usages like JConsole or any other profiling tool .
Please share the subscribe mapping video
If yml file is loaded after the property file then, will the values not override by yml file? For example: { Int a = 10; a=5; } Then a will store 5 right?
Thanks for making this tutorial. I would want to see a part 2 of this, where you can go through mapping complex datatypes in schema.graphqls
Okta dependency is not available in spring boot 3.3.0. What’s the alternative
Not sure will check and update you
Very good explanation, have one doubt in jwt tutorial you mentioned to validate token you passed token and user details object , but here in api gateway you are passing just token , what if I modify token , and how api gateway is validating modified token since we are not passing user details object
In jwt from token we extract user details . We Don't pass user details explicitly
@@Javatechie was mentioning about below method , can u plz explain here we are just passing token we r not extracting username public void validateToken(final String token) { Jwts.parserBuilder().setSigningKey(getSignKey()).build().parseClaimsJws(token); }
Please Debug parseClaim method you Will understand from token what all we are extracting
Hey make videos on apollo federation and subgraphs. One of my clients predominantly uses that
Nice explanation for the java part. How to use in some webclient like Reactjs etc