I'm assuming you are using Tomcat
, which uses a Manager component to persist sessions between application life-cycles. You can change all those settings in the Manager component configuration.
I think it also depends on the kind of changes you do. Eclipse's plugin for Tomcat server will decide if it should flush the serialized HttpSession
s or not.