-1

I already have old JSP project, but I want to take advantage of spring-session in particularly for SSO. I don't want to convert my old project to completely 'spring' version, because need so much effort to my team.

It's not hard to configure using java config and spring project. Can anybody give walkthrough to do this on my old JSP project?

prptn
  • 299
  • 1
  • 6
  • 18
  • Please start doing some code by yourself , then if you got stucked with some exact issue, then someone will be able to help you. Refer this link for asking proper questions http://stackoverflow.com/help/how-to-ask – Panther Jul 13 '15 at 04:04
  • Thanks for your suggestion, I need to learn to write question better. Because I really have no idea how to implement this. But I will do some googling and might be found how to integrate traditional Servlets project with Spring. – prptn Jul 13 '15 at 04:34

1 Answers1

0

Spring Session has no required dependencies on any other Spring Project. See the Hazelcast example for a demonstration of this. In this example, you will not need to bring in any Spring dependencies except Spring Session.

Alternatively, if you want to use Redis based implementation you can use Spring only for creating a SessionRepositoryFilter and nothing else. See the XML Quick Start for a sample.

With either approach you will NOT need to use Spring in the rest of your application to leverage Spring Session.

Rob Winch
  • 21,440
  • 2
  • 59
  • 76