springboot
Kooola的博客
爱好广泛的开发者
展开
-
Spring boot(一) IDEA热部署设置
make project automatically ⌘ + ⇪ + A 输入make project automatically 并打钩 compiler.automake.allow.when.app.running ⌘ + ⇪ + A 输入Registry,找到 compiler.automake.allow.when.app.running并打钩 修改po...原创 2018-07-20 23:54:19 · 184 阅读 · 0 评论 -
Spring boot(二)使用redis实现session共享
默认 HttpSession 是通过 Servlet 容器创建和管理,保存在内存中,这种情况无法做到多个服务之间的 session 共享。 使用 Redis 将 session 剥离服务进程,多个服务的进程便可以共享 session。 不做自定义配置情况下,spring boot 使用默认的 HttpSession。要想使用 redis 来管理 session 的话,spring boot 提...原创 2018-09-18 15:26:18 · 276 阅读 · 0 评论