The saved continuation, in the case of Rhino, is the program counter (current location of code execution) and all variables. For Javascript variables, they are saved by value, but for Java variables, they are saved by reference. Therefore, the size of a continuation object is very small, however, it is possible, I believe, to save them to disk for very long running transactions, in which case Java variables would be serialized, but as you could imagine, that would increase the size of the continuation by quite a bit.
Also, keep in mind your entire 50 page application probably won't be one script, but rather individual processes will be given their own flows, or functions in the Javascript sense, so the continuations will only contain variables for that specific process. Sessions would still be useful for things like saving user profiles which are needed by every page. I personally like to use regular Struts actions for most simple actions, and then use Struts Flow for more complicated, multi-page wizards/forms. Don On Fri, 18 Feb 2005 10:27:53 -0000, Pilgrim, Peter <[EMAIL PROTECTED]> wrote: > > > -----Original Message----- > > From: Don Brown [mailto:[EMAIL PROTECTED] > ==////== > > I can see "continuations" as a sort of an inversion of the > classic finite state machine computer algorithm (Sedgewick et al) > It is all Iinteresting stuff. In essence it is still a > state machine of sorts but captures a massively big state, > the virtual machine execution state, instead of a smaller > finite state. > > http://cocoon.apache.org/2.1/userdocs/flow/continuations.html > > What happens below the surface? Some sort of passivation and > activation algorithm. Nice idea. > > ==////== > > -- > Peter Pilgrim > Operations/IT - Credit Suisse First Boston, > Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom > Tel: +44-(0)207-883-4497 > > ============================================================================== > This message is for the sole use of the intended recipient. If you received > this message in error please delete it and notify us. If this message was > misdirected, CSFB does not waive any confidentiality or privilege. CSFB > retains and monitors electronic communications sent through its network. > Instructions transmitted over this system are not binding on CSFB until they > are confirmed by us. Message transmission is not guaranteed to be secure. > ============================================================================== > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]