Re: Transparent Object Persistence

Naveen Chawla <[email protected]> Wed, 27 Nov 2013 00:15:56 +0000
Newsgroups gmane.comp.java.prevayler
Message-ID <CAGs7EcX3NonyfevfpgX3L5neEMEM+_HysPTckxH_vTn2GwwZoA@mail.gmail.com>
Hi Klaus,

It is ordinary generic method syntax.

The beginning and end of a transaction would simply be any change to any
non-transient field. If the programmer wants to synchronize over multiple
changes in multi-threaded traffic then fine, but journalling each
individual field change as it happens is all that's needed for full &
correct recovery. For speed performance, there could an option to journal
everything to one big file, always open, in a separate thread (with an
automatic keep-track-of-successful-updates strategy e.g. by automatically
writing "success" markers in the file itself or by file renaming or by
writing to a separate "position" file).

On 26 November 2013 20:21, Klaus Wuestefeld <[email protected]> wrote:

> Hi Naveen,
>
> > MyObject prevalentObject = Prevayler.<MyObject>connect("name");
>
> What does this <MyObject> syntax mean? Is this new generics syntax?
>
>
> > Where all subsequent db actions (journalling changes to all
> non-transient fields, synchronization over reads/writes etc.) is automatic,
> achieved via Prevayler bytecode instrumentation. No transaction classes, no
> bubble classes, nothing else needed.
>
>
> What demarcates beginning and end of a transaction?
>
> Klaus
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> _______________________________________________
> To unsubscribe go to the end of this page:
> http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
> _______________________________________________
> "Databases in Memoriam" -- http://www.prevayler.org
>

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk

_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org