--- Geoffrey Talvola <[EMAIL PROTECTED]> wrote: > Ian Bicking wrote: > > On Tue, 2002-04-02 at 16:58, Geoffrey Talvola wrote: > > > def _respond(self): > > > try: > > > Page._respond(self) > > > except: > > > self.rollbackTransaction() > > > else: > > > self.commitTransaction() > > > > > > This wouldn't catch errors that happen _during_ the awake() > > call. But maybe > > > that's OK. > > > > Is there a reason why the awake/respond/sleep cycle is > > implemented in (I > > believe) Application (or Response? I forget), instead of in > Servlet? > > It seems like this only gets in the way, it never helps > > anything -- and > > you have to modify WebKit to futz around with these things, you > can't > > just modify your own SitePage. > > Seems like a good idea to move the full awake/respond/sleep cycle > into > Servlet to me. But there could be some good reason why it is > done in > Application that I can't think of. > > Chuck? Jay? > > - Geoff >
Seems to me that the application calls awake on the transaction, then the transaction calls awake on the session and the servlet. I don't have a problem with this, just that if awake succeeds, then sleep should be called. --Karl __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss