• 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
MultiECLockManager. Set and forget ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MultiECLockManager. Set and forget ?


  • Subject: MultiECLockManager. Set and forget ?
  • From: Owen McKerrow <email@hidden>
  • Date: Thu, 26 Apr 2007 10:12:05 +1000

Hi All,

Im looking at cleaning up our locking procedures on some of our projects. Looking over past emails and on the wiki the most commons suggestions are either MultiECLockManager or Project Wonders ERXEC. We're not using Wonder at the moment so Im thinking MultiECLockManager. I seem to remember Chuck once implying that it was basically a set and forget sort of thing, that once you had registered you EC with it you didn't need to worry about locking anymore. Is this really the case ?

What we have on the current project is a base component that all of our other components extend from. This base component contains a variation of Chucks CoOperatingEditingContext (thanks Chuck), so each of our pages has their own EC with session wide variables, like who's currently logged in, being stored in the default editing context.

What Im wondering is if I was to use MultiECLockManager and it is as simple as it seems, all I should need to do is in my base component when the EC is created, register it with the Manager and then go back through all of my code and find any ec.lock(), ec.unlock() and remove them.

Am I understanding this correctly ?

Owen McKerrow
WebMaster, emlab
Ph : +61 02 4221 5517
http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

"I like the way this project has somehow, against all common sense, got itself made."
- Peter Jackson, "The Lord of The Rings"



_______________________________________________ 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
  • Follow-Ups:
    • Re: MultiECLockManager. Set and forget ?
      • From: Kieran Kelleher <email@hidden>
    • Re: MultiECLockManager. Set and forget ?
      • From: Chuck Hill <email@hidden>
    • Re: MultiECLockManager. Set and forget ?
      • From: Miguel Arroz <email@hidden>
  • Prev by Date: Integrity Constraints fire upon deletion.
  • Next by Date: Re: MultiECLockManager. Set and forget ?
  • Previous by thread: Re: Integrity Constraints fire upon deletion.
  • Next by thread: Re: MultiECLockManager. Set and forget ?
  • Index(es):
    • Date
    • Thread