Good point (actually we just had a WebRowSet discussion on cayenne-user -
http://objectstyle.org/cayenne/lists/cayenne-user/2004/12/0043.html).
Something to consider when doing distributed DataContext... Combined with
coders that Kevin is doing now, we may be able to build it as an open XML
API to Cayenne.
Andrus
> On Dec 14, 2004, at 02:29, Andrus Adamchik wrote:
>
>> 1. XML Consumer app (webservice client): External XML feed -> Cayenne
>> Application -> Database
>> 2. XML Producer app (webservice): Database -> Cayenne Application ->
>> External XML Client
>>
>> (Am I missing any important cases?)
>>
>> Talking about decoding (case 1)... external XML feed may or may not
>> have a DB PK value embedded in it. E.g. if you are reading XML data
>> from UPS to create Shipment objects, shipment.shipment_id will be
>> generated by Cayenne, and will not be present in the feed XML. So to
>> match the XML with existing DataObjects we need to define some other
>> criteria (e.g. match on a "trackingNumber" which is not a PK). If a
>> matching object is found it should be updated from XML, if not - a new
>> object should be created.
>
> Ok, I see. I was thinking more of a cayenne server application that
> creates xml that are sent to a client, edited and sent back to that
> same cayenne server application for storing. Like a detached row set.
>
> - Tore.
This archive was generated by hypermail 2.0.0 : Tue Dec 14 2004 - 09:54:24 EST