Hi, Why not simply use LDMs to avoid entities serializations... Al my entities are non-serializable. This way I ensure I never serialize one, which might be dangerous as far as I can see.
On Thu, Mar 6, 2014 at 8:29 AM, Tom Götz <t...@decoded.de> wrote: > Hi there, > > I have an application that doesn't need back-button support and also has > several domain objects that are not meant to be serialized. I thought it > could be a good idea to implement an IPageStore that skips serialization > and simply keeps the last n pages in memory (where n might be 5-10 e.g.). > Does this sound like a reasonable plan or do you see any pitfalls with that > approach? > > What about ajax requests (I'm using a lot of them)? Let's say n=5, i.e. > I'm storing (only) the last 5 pages in memory, without serialization to > disk. I start a page, pageId==1, then I'm doing 10 ajax requests on the > page. Now when the user does a page reload, will he run into a > PageExpiredException because the requested page with id=1 is not available > any more in my pageStore? > > Cheers, > -Tom > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Regards - Ernesto Reinaldo Barreiro