SharedEC and JavaClient?

Ashley Aitken <[email protected]> Wed, 16 Jun 2004 00:36:10 +0800
Newsgroups gmane.comp.web.webobjects.eof
Message-ID <[email protected]>
Howdy All,

If I have a Product object in a Shared EditingContext and an Order 
(with a to-One relationship the Product object) in a plain 
EditingContext on the server, what will happen when I fetch this Order 
to an EditingContext on a JavaClient app and then try to access the 
Product?

I hope the Product object would be distributed to the client and 
inserted into the plain EditingContext as the related object.  Would 
it?

I don't intend to edit the Product on the client-side but when I 
saveChanges to the Order would this cause problems on the server?  
Basically, if the above works, the client editing context is working 
something like a nested EditingContext of both the shared and the plain 
server ECs.

I guess there is a similar and simpler question with regards to Nested 
EditingContexts on the server where the parent EditingContext has 
objects with relationships into the Shared EditingContext.  However, on 
the server, the Nested EC could also maintain those relationships to 
the Shared EC.

Could a Java Client application have a Shared EC connected to the 
server Shared EC?  I realise that it won't be shared between sessions 
on the client-side but it would be more consistent.

Just interested ...

Cheers,
Ashley.

--
Ashley Aitken
Perth, Western Australia
mrhatken at mac dot com