Re: Disabling serialization/storage of pages in session?

2007-11-17 Thread saenz
es or quickstart it's easy and a lot more efficient > than trying to think of things beforehand. > > Best wishes, > Timo > > -- > Timo Rantalaiho > Reaktor Innovations Oyhttp://www.ri.fi/ > > > ------------------

Re: Disabling serialization/storage of pages in session?

2007-11-17 Thread Timo Rantalaiho
On Fri, 16 Nov 2007, saenz wrote: > In fact, I can't tell whether the IPageMap or the IPageVersionManager (or > both) are used to serialize old versions of Page instances. I would assume > that IPageVersionManager is where this is implemented, but I can't be sure. > The ISessionStore interface has

Re: Disabling serialization/storage of pages in session?

2007-11-17 Thread Johan Compagner
And then to be even more clear when you do the code below that eelco has given you as an example the back button wil NOT work anymore. johan On Nov 17, 2007 2:23 AM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > You could also explain some of the details of what should be returned by > our >

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Eelco Hillenius
> You could also explain some of the details of what should be returned by our > override of WebApplication.newSessionStore(). The javadoc for this method > reads "typically not something clients reimplement" so I assume we really > need to know what we're doing if we override this method. This in

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Igor Vaynberg
;[EMAIL PROTECTED]> wrote: > > > >> > >> Hi Johan, > >> > >> Would you mind being a little bit more specific? Or you may feel free to > >> point me to the documentation that I should read. > >> > >> > >> > >>

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread saenz
t;> Would you mind being a little bit more specific? Or you may feel free to >> point me to the documentation that I should read. >> >> >> >> Johan Compagner wrote: >> > >> > Application >> > *protected* *abstract* ISessionStore newSessi

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Martijn Dashorst
on that I should read. > > > > Johan Compagner wrote: > > > > Application > > *protected* *abstract* ISessionStore newSessionStore(); > > > > -- > View this message in context: > http://www.nabble.com/Disabling-serialization-storage-of-pages-in-session--tf4768006

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread saenz
ustered), and how applications should handle the back button on the browser? Thanks. -- View this message in context: http://www.nabble.com/Disabling-serialization-storage-of-pages-in-session--tf4768006.html#a13804104 Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread saenz
w.nabble.com/Disabling-serialization-storage-of-pages-in-session--tf4768006.html#a13804076 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Johan Compagner
pes of load balancing strategies > > >> besides > > >> sticky sessions are all flawed, and that it only makes sense to use > > >> sticky > > >> sessions? Plea

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Johan Compagner
mproved replicated page store in > > Wicket 1.3 RC or will that be a 2.0 feature? > > > > Also -- if page serialization is disabled, what happens when the user > hits > > the back button? > > -- > > View this message in contex

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Johan Compagner
cket to save pages to a shared drive > > > > Thanks Igor. Are you saying that we can configure Wicket to store old > versions of Pages in the HttpSessionStore (in memory)? If so, how do we > configure this? > -- > View this message in context: > http://www.nabble.com/Disa

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Johan Compagner
> wrote: > > Also, can someone answer this other question I asked? > > > saenz wrote: > > > >> Also -- if page serialization is disabled, what happens when the user > >> hits > >> the back button? > > > > -- > View this message in

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread saenz
Also, can someone answer this other question I asked? saenz wrote: > >> Also -- if page serialization is disabled, what happens when the user >> hits >> the back button? > -- View this message in context: http://www.nabble.com/Disabling-serialization-storage-of-pag

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread saenz
we configure this? -- View this message in context: http://www.nabble.com/Disabling-serialization-storage-of-pages-in-session--tf4768006.html#a13800373 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubsc

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread saenz
http://www.nabble.com/Disabling-serialization-storage-of-pages-in-session--tf4768006.html#a13796998 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Eelco Hillenius
On Nov 16, 2007 10:33 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > you can still cluster 1.3.1 easily. either use httpsessionstore or > tell wicket to save pages to a shared drive Or use that project Matej is working on. It works. Eelco -

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Martijn Dashorst
sticky sessions are all flawed, and that it only makes sense to use sticky > sessions? Please correct my understanding. > > If sticky sessions are the only recommended way to do load balancing, then > what is the reason to support replication of session state across multiple > nodes in a cluster?

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Igor Vaynberg
sessions are the only recommended way to do load balancing, then > what is the reason to support replication of session state across multiple > nodes in a cluster? failover -igor > > - Lu > -- > View this message in context: > http://www.nabble.com/Disabling-serialization-s

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread saenz
recommended way to do load balancing, then what is the reason to support replication of session state across multiple nodes in a cluster? - Lu -- View this message in context: http://www.nabble.com/Disabling-serialization-storage-of-pages-in-session--tf4768006.html#a13796491 Sent from the W

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Johan Compagner
On Nov 15, 2007 11:22 PM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > What is the recommended deployment model to support back-button usage > via > > undoable changes and disk-based serialized storage with Wicket? Is it > only > > possible using a load balancer configured to be "sticky" (keep s

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Igor Vaynberg
e? > > Also -- if page serialization is disabled, what happens when the user hits > the back button? > -- > View this message in context: > http://www.nabble.com/Disabling-serialization-storage-of-pages-in-s

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread saenz
or will that be a 2.0 feature? Also -- if page serialization is disabled, what happens when the user hits the back button? -- View this message in context: http://www.nabble.com/Disabling-serialization-storage-of-pages-in-session--tf4768006.html#a13797991 Sent from the Wicket - User mailing list

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Igor Vaynberg
> > Is the page storage on node1 is replicated to other nodes? If not, what is > > the behavior of Wicket running on node2? > > > > -- > View this message in context: > http://www.nabble.com/Disabling-serializ

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Igor Vaynberg
all flawed, and that it only makes sense to use > >> sticky > >> sessions? Please correct my understanding. > >> > >> If sticky sessions are the only recommended way to do load balancing, > >> then

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread saenz
recommended way to do load balancing, >> then >> what is the reason to support replication of session state across >> multiple >> nodes in a cluster? >> >> - Lu >> -- >> View this message in context: >> http://www.nabble.com/Disabling-serializ

Re: Disabling serialization/storage of pages in session?

2007-11-16 Thread Johan Compagner
hen the request is completed? > > Or is it the responsibility of the application to free old Page instances > from session state when navigating to different Pages? (It doesn't seem > like > this is the case, but I wanted to ask the question anyway.) > >- Lu > -- &

Re: Disabling serialization/storage of pages in session?

2007-11-15 Thread saenz
he session)? Thanks, - Lu -- View this message in context: http://www.nabble.com/Disabling-serialization-storage-of-pages-in-session--tf4768006.html#a13782634 Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: Disabling serialization/storage of pages in session?

2007-11-15 Thread saenz
the responsibility of the application to free old Page instances from session state when navigating to different Pages? (It doesn't seem like this is the case, but I wanted to ask the question anyway.) - Lu -- View this message in context: http://www.nabble.com/Disabling-serializati

Re: Disabling serialization/storage of pages in session?

2007-11-15 Thread Eelco Hillenius
> What is the recommended deployment model to support back-button usage via > undoable changes and disk-based serialized storage with Wicket? Is it only > possible using a load balancer configured to be "sticky" (keep sessions on > the same node during the lifetime of the session)? Recommended is

Re: Disabling serialization/storage of pages in session?

2007-11-13 Thread Johan Compagner
t;>> using > >>> > sb> spring) but is a heavy(difficult) thing to maintain that "cache" > >>> per > >>> > user - > >>> > sb> http session is a nice and easy storage for that-. > >>> > > >>> > &g

Re: Disabling serialization/storage of pages in session?

2007-11-13 Thread Aqeel
gt;>> per >>> > user - >>> > sb> http session is a nice and easy storage for that-. >>> > >>> > >>> > sb> Eelco Hillenius wrote: >>> >>> >>> >>>> You should use a second level cache to cache objects and queries >>> from >>> >>>> your database;

Re: Disabling serialization/storage of pages in session?

2007-11-09 Thread Johan Compagner
u'll avoid redundancy in caching, and have caching > >> >>> regardless of whatever UI framework you're using. and using e.g. > >> >>> ehcache can do things for you like limit the RAM cache and overflow > >> to > >> >>> disk. Etc.

Re: Disabling serialization/storage of pages in session?

2007-11-09 Thread mfs
gt; >>>> your database; and that's not Wicket's job, Wicket is a Web >> framework. >> >>>> >> >>>> For example, use Hibernate + ehcache. >> >>> >> >>> Yep. That way you'll avoid redundancy in

Re: Disabling serialization/storage of pages in session?

2007-11-09 Thread Johan Compagner
work. > >>>> > >>>> For example, use Hibernate + ehcache. > >>> > >>> Yep. That way you'll avoid redundancy in caching, and have caching > >>> regardless of whatever UI framework you're using. and using e.g. > >>> ehcache can do things fo

Re: Disabling serialization/storage of pages in session?

2007-11-09 Thread mfs
g. and using e.g. >>> ehcache can do things for you like limit the RAM cache and overflow to >>> disk. Etc. >>> >>> Eelco > > > -- > /Gwyn > > > - > To

Re: Disabling serialization/storage of pages in session?

2007-11-09 Thread Al Maw
serban.balamaci wrote: I am just saying that it may be ok in some cases to keep state on some objects and not have detachable models. I agree. Anything that uses a List of database entities, I tend to put in a detachable model. If I'm merely using a single POJO that was originally pulled fr

Re: Disabling serialization/storage of pages in session?

2007-11-09 Thread serban.balamaci
e >> >> >> entire model-data/components would probably bring in too much of a >> >> load >> >> >> on >> >> >> the system (in my opinion...given high volume of users..) so with >> that >> >> >> may >> >&

Re: Disabling serialization/storage of pages in session?

2007-11-09 Thread Gwyn Evans
Hi, It's not hard to do it with Wicket, but I'm fairly sure that for the typical web-app, the metrics showed that the a re-request to database wasn't a big issue, whereas the gain in terms of reducing the session size was, especially where it needs replicating. As such, the recommendation is as i

Re: Disabling serialization/storage of pages in session?

2007-11-09 Thread Johan Compagner
>> be we would not want to store the pages in pageMap at all (which in > >> turn > >> >> is > >> >> stored in the session). > >> > > >> > But I hope you're not storing MBs of data in your pages?! Users will > >> > a

Re: Disabling serialization/storage of pages in session?

2007-11-09 Thread serban.balamaci
--- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Disabling-serialization-storage-of-pages-

Re: Disabling serialization/storage of pages in session?

2007-11-09 Thread Eelco Hillenius
> You should use a second level cache to cache objects and queries from > your database; and that's not Wicket's job, Wicket is a Web framework. > > For example, use Hibernate + ehcache. Yep. That way you'll avoid redundancy in caching, and have caching regardless of whatever UI framework you're u

Re: Disabling serialization/storage of pages in session?

2007-11-09 Thread Sebastiaan van Erk
ED] -- View this message in context: http://www.nabble.com/Disabling-serialization-storage-of-pages-in-session--tf4768006.html#a13653854 Sent from the Wicket - User mailing list archive at Nabble.com<http://nabble.com/> . ---

Re: Disabling serialization/storage of pages in session?

2007-11-09 Thread serban.balamaci
that are MBs large? Note that you don't have to >> > keep anything in memory if you work with detachable models. >> > >> > Eelco >> > >> > - >> > To unsubscribe, e-mail: [EMAIL

Re: Disabling serialization/storage of pages in session?

2007-11-08 Thread Johan Compagner
> ----------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/Disabling-s

Re: Disabling serialization/storage of pages in session?

2007-11-08 Thread Eelco Hillenius
> Well that was just hypothetically speaking..what i meant was it would have > loads of data loaded in it..so it was that scenario where i was wondering > that we shouldnt store the state of each page. > Yes as you pointed out using detachable models can certainly be one to way > to go..but at the

Re: Disabling serialization/storage of pages in session?

2007-11-08 Thread mfs
> To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Disabling-serialization-stor

Re: Disabling serialization/storage of pages in session?

2007-11-08 Thread Eelco Hillenius
> Now there would be certain use-cases/pages in our application which would > have alot of data in it (lets say in mbs), and in that scenario storing the > entire model-data/components would probably bring in too much of a load on > the system (in my opinion...given high volume of users..) so with

Re: Disabling serialization/storage of pages in session?

2007-11-08 Thread mfs
> >> Guys, >> >> If need be, can we disable altogether the storage of pages (in the form >> of >> a >> pageMap) in session, similarly on the disk ? >> >> Thanks and Regards, >> >> Farhan. >> -- >> View this message

Re: Disabling serialization/storage of pages in session?

2007-11-08 Thread Johan Compagner
PROTECTED]> wrote: > > Guys, > > If need be, can we disable altogether the storage of pages (in the form of > a > pageMap) in session, similarly on the disk ? > > Thanks and Regards, > > Farhan. > -- > View this message in context: > http://www.nabble.com/Disabli

Re: Disabling serialization/storage of pages in session?

2007-11-07 Thread Eelco Hillenius
> If need be, can we disable altogether the storage of pages (in the form of a > pageMap) in session, similarly on the disk ? Yep. One easy way to achieve this is to provide a dummy page store. Eelco - To unsubscribe, e-mail: [E

Disabling serialization/storage of pages in session?

2007-11-07 Thread mfs
Guys, If need be, can we disable altogether the storage of pages (in the form of a pageMap) in session, similarly on the disk ? Thanks and Regards, Farhan. -- View this message in context: http://www.nabble.com/Disabling-serialization-storage-of-pages-in-session--tf4768006.html#a13638150