This project works on docker-compose.
This branch's codes has the issue related to session, because the session is stored in each App server. like this.
The issue is resolved on manage-session-with-redis
branch.
When you want to check a solution of the issue, please check manage-session-with-redis
branch.
$ ./mvnw clean install && docker-compose up --build
Now the server is running, visit http://localhost:8080/session-attr with your borwser.
- The session sample implemented by @SessionAttributes
- http://localhost:8080/session-attr
- the login user infoformation
- id: userA
- password: password
- The session sample implemented by Session Scoped Bean
- The PRG pattern sample by frash scope (this scope uses temporary session)