Re: Practical EditingContext Design Question
Re: Practical EditingContext Design Question
- Subject: Re: Practical EditingContext Design Question
- From: Arturo Perez <email@hidden>
- Date: Thu, 16 Feb 2006 11:15:35 -0500
email@hidden wrote:
Arturo Perez <email@hidden> a écrit sur 16/02/2006 16:32:23 :
> email@hidden wrote:
> >
> >
> > Is it a good solution ?
> > In the book, different king of EditingContext are explained but wich
> > one do we need to use for the readers ? DefaultShareEditingContext ?
> > Other ?
> >
> > Many thank's for any advice,
> >
> > Jérémy
> That's what the DefaultSharedEditingContext is for (many readers, few
> writers) but most people have trouble implementing it properly.
That may or
> may not be because it's buggy.
Ok, I will try. Just a question :
- "How do WebObjects populate the changes made in all the
CooperativeEditingContext (used by the contributors) in the
DefaultSharedEditingContext (used by the readers) ?"
That's one of the areas of confusion. I am not an expert so I think
I'll stop now :-). You'll need to look at the documentation for
the shared editing contexts or review the mailing list archives.
One thing to remember is that the DefaultSharedEditingContext cannot
ever have references to writable data. If it does then
you'll get exceptions.
-arturo
_______________________________________________
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