Re: Prevalent Repository

Diego Miranda <[email protected]>
Newsgroups gmane.comp.java.prevayler
Message-ID <[email protected]>
Well, actually we have made a similar approach, but we extends from
JavaSerializer. I think that using a wrapper (as you did) is better because
you can reuse other Serializers.

But, what we would like to do is to encrypt only those transactions that
require to be encrypted. To achive this we have created two classes
SecureAnnotatedTransaction and SecureAnnotatedTransactionWithQuery. Then the
Serializer makes serialization according the type of transaction.

Cheers.
Diego

On Tue, May 19, 2009 at 6:16 PM, Justin T. Sampson <[email protected]>wrote:

> On Tue, May 19, 2009 at 12:19 PM, Diego Miranda <[email protected]>wrote:
>
>> Yes, our idea is to publish the code. We are doing some refactoring now
>> and adding some functionality like encrypting the snapshots and journals,
>> deterministics triggers, and listeners over the objects.
>
>
> I've added some simple Serializer decorators for compression and encryption
> on the master branch[1], to be included in the upcoming Prevayler 2.4
> release. I remember the main challenge I ran into when I first tried to
> compress and encrypt journals was that compression and encryption mechanisms
> don't necessarily make it easy to read or write exactly to variable-length
> record boundaries (which is how transactions are written to the journal). So
> the approach I ended up with simply wraps the journal serializer in order to
> compress or encrypt each individual transaction, allowing Prevayler to
> continue to do its normal parsing of the journal file structure.
>
> [1]
> http://github.com/jsampson/prevayler/tree/master/core/src/main/java/org/prevayler/foundation/serialization
>
> What approach are you taking for encrypting journals?
>
> Cheers,
> Justin
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> To unsubscribe go to the end of this page:
> http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
> _______________________________________________
> "Databases in Memoriam" -- http://www.prevayler.org
>
>


-- 
Ley de Hofstadter: Siempre toma más tiempo del que se preveía, aun cuando se
toma en cuenta la Ley de Hofstadter.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects

_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.