Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » ObjectTransaction
ObjectTransaction [message #25449] Thu, 07 May 2009 21:37 Go to next message
Eclipse UserFriend
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 Go to previous message
Christian Campo is currently offline Christian CampoFriend
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 Go to previous message
Christian Campo is currently offline Christian CampoFriend
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
Previous Topic:ObjectTransaction
Next Topic:1.1.0.M7 step 1
Goto Forum:
  


Current Time: Wed Dec 01 22:40:50 GMT 2021

Powered by FUDForum. Page generated in 0.02198 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top