# Samples and Guides (Start Here)
To get started with Spring Session, the best place to start is our Sample Applications.
Source | Description | Guide |
---|---|---|
HttpSession with Redis (opens new window) | Demonstrates how to use Spring Session to replace the HttpSession with Redis. | HttpSession with Redis Guide |
HttpSession with JDBC (opens new window) | Demonstrates how to use Spring Session to replace the HttpSession with a relational database store. | HttpSession with JDBC Guide |
HttpSession with Hazelcast (opens new window) | Demonstrates how to use Spring Session to replace the HttpSession with Hazelcast. | |
Find by Username (opens new window) | Demonstrates how to use Spring Session to find sessions by username. | Find by Username Guide |
WebSockets (opens new window) | Demonstrates how to use Spring Session with WebSockets. | WebSockets Guide |
WebFlux (opens new window) | Demonstrates how to use Spring Session to replace the Spring WebFlux’s WebSession with Redis. | |
WebFlux with Custom Cookie (opens new window) | Demonstrates how to use Spring Session to customize the Session cookie in a WebFlux based application. | WebFlux with Custom Cookie Guide |
HttpSession with Redis JSON serialization (opens new window) | Demonstrates how to use Spring Session to replace the HttpSession with Redis using JSON serialization. | |
HttpSession with simple Redis SessionRepository (opens new window) | Demonstrates how to use Spring Session to replace the HttpSession with Redis using RedisSessionRepository . | |
Spring Session with MongoDB Repositories (servlet-based) (opens new window) | Demonstrates how to back Spring Session with traditional MongoDB repositories. | Spring Session with MongoDB Repositories |
Spring Session with MongoDB Repositories (reactive) (opens new window) | Demonstrates how to back Spring Session with reactive MongoDB repositories. | Spring Session with MongoDB Repositories |
Source | Description | Guide |
---|---|---|
HttpSession with Redis (opens new window) | Demonstrates how to use Spring Session to replace the HttpSession with Redis. | HttpSession with Redis Guide |
HttpSession with JDBC (opens new window) | Demonstrates how to use Spring Session to replace the HttpSession with a relational database store. | HttpSession with JDBC Guide |
HttpSession with Hazelcast (opens new window) | Demonstrates how to use Spring Session to replace the HttpSession with Hazelcast. | HttpSession with Hazelcast Guide |
Custom Cookie (opens new window) | Demonstrates how to use Spring Session and customize the cookie. | Custom Cookie Guide |
Spring Security (opens new window) | Demonstrates how to use Spring Session with an existing Spring Security application. | Spring Security Guide |
REST (opens new window) | Demonstrates how to use Spring Session in a REST application to support authenticating with a header. | REST Guide |
Source | Description | Guide |
---|---|---|
HttpSession with Redis (opens new window) | Demonstrates how to use Spring Session to replace the HttpSession with a Redis store. | HttpSession with Redis Guide |
HttpSession with JDBC (opens new window) | Demonstrates how to use Spring Session to replace the HttpSession with a relational database store. | HttpSession with JDBC Guide |
Source | Description | Guide |
---|---|---|
Hazelcast (opens new window) | Demonstrates how to use Spring Session with Hazelcast in a Java EE application. |