Tuesday, 15 January 2013

jsf - ViewState custom saving method - is it possible? -



jsf - ViewState custom saving method - is it possible? -

afaik in jsf viewstate stored jvm memory when javax.faces.state_saving_method set "server".

is there way configure / setup custom saving method that, example, can utilize (eventually, disk backed) storage engine (ie. memcache / redis) store viewstate ?

something equivalent of custom session.save_handler in php.

is stored jvm memory

to more precise, it's stored in http session in turn managed container.

so, if want customize session management, @ servletcontainer level. it's unclear 1 you're using, in case of illustration tomcat, refer manager component document under chapters "persistent manager" session storage on disk.

jsf viewstate

No comments:

Post a Comment