Am 17.10.2005 13:10 Uhr schrieb "Ken Anderson" unter <[EMAIL PROTECTED]>:

Thanks to both of you!!!
Is this necessary between instances of the same application too?
Do they share the object store?
Wolfram

> There is another option - use one of the available tools that
> notifies other instances of changed data.  I've used the one from
> Wirehose (http://www.wirehose.com/download) - but I believe there's
> one in Project Wonder also.
> 
> Ken
> 
> On Oct 17, 2005, at 6:08 AM, Gennady Kushnir wrote:
> 
>> Hi, Wolfram
>> WebObjects apps cache data when first fetched from database. There
>> are several ways for data cache to be updated.
>> 1) restart application as you already mentioned.
>> 2) perform objects refresh on editingContext used in your user
>> application. I do it with this:
>>     EOSharedEditingContext.defaultSharedEditingContext
>> ().rootObjectStore().invalidateAllObjects();
>> 3) refresh objects in user application every time they are fetched.
>> It means fetchSpecification used to present data should be set to
>> refresh objects. If this fetchSpecification is defined in model -
>> you should set this option. If you define this programmatically:
>>     fetchSpec.setRefreshesRefetchedObjects(true);
>> 
>> Regards,
>> Gennady
>> On 17.10.2005, at 13:09, Wolfram Stebel wrote:
>> 
>>> Hi List,
>>> 
>>> i have two WOApps running on the same server.
>>> They access the same data base. One is the user application, the
>>> other is a
>>> admin application.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to