• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Long response page to hide page component generation time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Long response page to hide page component generation time


  • Subject: Re: Long response page to hide page component generation time
  • From: Paul Hoadley <email@hidden>
  • Date: Fri, 09 Jan 2015 11:12:01 +1030

On 9 Jan 2015, at 5:29 am, Chuck Hill <email@hidden> wrote:

The one problem you will run into is that the session and related ECs are not locked.  You could refactor the page to take the user etc from other thread locals, pass them in and use localInstance EOs in an EC unique to the background thread.  If you do that and don’t touch session stuff in the background thread you should be OK.

Thanks Chuck—I'm just going to quit while I'm ahead.  My approach never seemed quite sane from the outset, and this has sealed it.


-- 
Paul Hoadley
http://logicsquad.net/


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Long response page to hide page component generation time (From: Paul Hoadley <email@hidden>)
 >Re: Long response page to hide page component generation time (From: Paul Hoadley <email@hidden>)
 >Re: Long response page to hide page component generation time (From: Paul Hoadley <email@hidden>)
 >Re: Long response page to hide page component generation time (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Practical WebObjects book ???
  • Next by Date: Ponder Arrow Images on Sort Headers?
  • Previous by thread: Re: Long response page to hide page component generation time
  • Next by thread: Fix to allow using WOResponse.setContentStream() for servlet deployments
  • Index(es):
    • Date
    • Thread