ObjectTransaction [message #25449] |
Thu, 07 May 2009 21:37 |
Eclipse User |
|
|
|
Originally posted by: kessels.sjoerd.gmail.com
Hi,
Is there any documentation on ObjectTransaction? Or can someone provide a
short introduction on how to use it? The description sounds very interesting
but I have no idea how to use it.
Thanks,
Sjoerd
|
|
|
Re: ObjectTransaction [message #25574 is a reply to message #25449] |
Fri, 08 May 2009 07:35 |
Christian Campo Messages: 597 Registered: July 2009 |
Senior Member |
|
|
Unfortunatelly there is currently no doc for this. However we have really a large number of Unittests for this, which
could give you an idea what it is.
In short it is a support framework to track changes in large object nets, collect only the delta of the changes and
share them between client and server. So you have 100 java objects on the client you like to track, the object
transaction does that. You can then later extract a delta which only contains information about the changes, send them
to the server, on the server build the original object net (using some metadata from the delta) and applied the changed
properties onto that object net. Thats a way of synchronzing changes in large object nets with minimal network load.
Its important to understand that Object Transaction is a supporting technology and not a turn key solution. So you would
have to modify the classes in your object net, you need to write code to extract the delta and so on.
But the container to keep the track and many functions like committing changes to objects, rolling them back is already
implemented in the ObjectTransaction.
Look at the testcases. There really literally hundreds of them.
christian
Sjoerd Kessels schrieb:
> Hi,
>
> Is there any documentation on ObjectTransaction? Or can someone provide
> a short introduction on how to use it? The description sounds very
> interesting but I have no idea how to use it.
>
> Thanks,
>
> Sjoerd
|
|
|
Re: ObjectTransaction [message #582313 is a reply to message #25449] |
Fri, 08 May 2009 07:35 |
Christian Campo Messages: 597 Registered: July 2009 |
Senior Member |
|
|
Unfortunatelly there is currently no doc for this. However we have really a large number of Unittests for this, which
could give you an idea what it is.
In short it is a support framework to track changes in large object nets, collect only the delta of the changes and
share them between client and server. So you have 100 java objects on the client you like to track, the object
transaction does that. You can then later extract a delta which only contains information about the changes, send them
to the server, on the server build the original object net (using some metadata from the delta) and applied the changed
properties onto that object net. Thats a way of synchronzing changes in large object nets with minimal network load.
Its important to understand that Object Transaction is a supporting technology and not a turn key solution. So you would
have to modify the classes in your object net, you need to write code to extract the delta and so on.
But the container to keep the track and many functions like committing changes to objects, rolling them back is already
implemented in the ObjectTransaction.
Look at the testcases. There really literally hundreds of them.
christian
Sjoerd Kessels schrieb:
> Hi,
>
> Is there any documentation on ObjectTransaction? Or can someone provide
> a short introduction on how to use it? The description sounds very
> interesting but I have no idea how to use it.
>
> Thanks,
>
> Sjoerd
|
|
|
Powered by
FUDForum. Page generated in 0.04231 seconds