• 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: EditingContexts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EditingContexts


  • Subject: Re: EditingContexts
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 05 May 2003 11:44:04 -0700
  • Organization: Global Village Consulting, Inc.

Gino Pacitti wrote:

Hi

Could anyone give me a summation of the session defaultEditingContext and the application shared defaulteditingContext what is the difference between them.


Session's defaultEditingContext hold session (user) specific copies of EO objects. The defaultSharedEditingContext is used for *read only* copies of objects that are shared among all sessions. I expect there are probably fairly extensive docs on the Shared Editing Context on Apple's site.



Also what is happening - User A fetches 5 rows from the db and iterates through a the list on a web page then User B comes along and gets a similar page. Are they both seeing the same objects from memory?


Only if the objects are both in the shared editing context.


Where do the two editingContexts fit into this?


Think of an EC as a private sandbox.


How can you guarantee up to date information for the uses?


That is a big question. At some level of exactness it is impossible. Search the archives for 'refresh'. That should get you started.



Chuck

Any thoughtts would be great - thanks


Gino


_______________________________________________ WebObjects-dev mailing list email@hidden http://www.omnigroup.com/mailman/listinfo/webobjects-dev


--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net

Progress is the mother of all problems.
- G. K. Chesterton
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: char set (again)
  • Next by Date: Re: Problem: generating SQL for many-to-many relationships using EOModeler and OpenBase
  • Previous by thread: WOMailDelivery
  • Next by thread: Re: Outer Join Question
  • Index(es):
    • Date
    • Thread