Demystifying Spring Session: A Comprehensive Introduction for Java Developers!

preview_player
Показать описание
Welcome to 'Demystifying Spring Session: A Comprehensive Introduction for Java Developers!' In this tutorial, we'll explore the powerful features of Spring Session and learn how to effectively manage user sessions in your Java web applications. Whether you're a seasoned developer or just starting out with Spring, this tutorial will provide you with a solid understanding of session management using Spring Session. We'll cover key concepts such as session creation, session persistence, and session expiration, along with practical examples and best practices. By the end of this tutorial, you'll be equipped with the knowledge and skills to leverage Spring Session in your own projects and create seamless user experiences. So, let's dive in and demystify Spring Session together!

🔗Resources & Links mentioned in this video:

👋🏻Connect with me:

🎙️ Spring Office Hours Podcast

Рекомендации по теме
Комментарии
Автор

Every time I think I can skip one of your videos but wind up watching it instead, I realize how much I would have missed out had I skipped it.
Keep up the good work and please keep these coming!

pleasethink
Автор

Dan you are doing tremendous work in Java world.

alibabathvs
Автор

Thanks, Dan! Awesome tutorial! Looking forward to learn more tricks and dive deep onto Spring Security! Keep up the good work :D

bmprudencio
Автор

I am moving from JWT to session, this certainly help me a lot remiding back the old session style identity management

tsegabahr
Автор

This is siiick! Thanks for the knowledge, my friend.

WisomofHal
Автор

what an awesome tutorial and explanation, thank you infinitely ☺️

svalyavasvalyava
Автор

Thank you so much man! you're really good at this

ryszvso
Автор

great content, and great way to explain it. keep up the good work !

hbritell
Автор

I integrated Spring Session with Redis, OAuth2 Login, Google reCapthca v3 and Docker for PostgreSQL and Redis into my project thanks to you!

m_jdm
Автор

Nice Dan! I am working right now in a project that will replace servlet to spring redis session in an openshift cluster. I had to debug entire app to identify bottlenecks that might cause some troubles. First step was to build a POC in a container. After fixed a few flows that could show the value of using of spring session, I started to debug entire app. Now in a stage of performance test and improvements about resources usage like database pool.
Spring redis session is amazing to leverage app performance. Jmeter was a good enough tool that helped me improve a scenario that before performed in 5 minutes with 16% errors(memory and pool) to only 50 seconds and 0% errors.
The next stage is to start replace some servlets by Spring boot components! Of course, using spring session + redis.

fredericoasoares
Автор

This is Good, I think you can do the same thing with Hazelcast which I find it alot better than Redis; it's scalable

benjamine.ndugga
Автор

Hi Dan, I just wanted to find out if running multiple instances with spring session, are csrf tokens stored on spring session as that request can go to any of the instances?

thatoshebe
Автор

Hi Dan! Thank you for this video, but I have one question. Why we can't see our attribute in session storage?

NickY_Msk
Автор

Thank you Dan !!! Can you make video on logout and ending session on redis?

poojabondkar
Автор

will you do a follow-up tutorial for database usage with session? Or does anyone have a good tutorial/documentation for it? Everything I found is pretty vague

lukamaletic
Автор

What's the differnce between a session attribute and a session scoped bean? When should I use what?

inlinerollerskate
Автор

Dan, what are the security considerations for using default configurations for redis? I imagine that redis username and password should be set somewhere.
Maybe this would be a place to integrate with the Spring Cloud Config server.

WaldoRochow
Автор

Can you please make a video on providing cosnistent error body for all type of Security error( eg. DisabledException etc) using global rest controller advice?

ashishsengar
Автор

Hi Dan,

Very helpful video. However I had a question. At around 18:10 into your video, I noticed that the SESSION cookie value didn't match the session id in redis. I have also noticed this in my own code. Do you know how/where the mapping occurs between the SESSION cookie value and the Spring session repository?

htimcqr
Автор

Why the session id stored in redis and in the browser cookie are different?

santhoshpapisetty