|
Page Edited :
WICKET :
Wicket Session Size
Wicket Session Size has been edited by jWeekend (Dec 07, 2008). Content:There have been several requests for information about Session Size and Stateless/Stateful pages in Wicket. I've set up this page so people have a place to put/link to related documentation. IntroductionStateful Web ApplicationsServer Side State vs Client Side StateVersioning/Back ButtonPage MapsWhy Does It Matter?Identifying The ProblemMap SizeTestingProfilingDetachable ModelsStateful vs StatelessBeware ...Non-static inner classesNon-static inner classes can access the state of the enclosing object. To do this, the byte code of the inner-class contains a reference to the outer-class instance. So, when the inner-class instace is serialised, the outer-class instance will be serialised too! Keeping a reference to the previous pageIf a page keeps a reference to a previous page (for example to implement a "back to last step" button), this will cause the "previous page" to be serialised again when the page holding the reference is serialised. ... alternative to this approach include ... Other Gotchas ... |
Unsubscribe or edit your notifications preferences
