Questions tagged [prevayler]

Prevayler: an implementation of the Prevalent System design pattern

Prevayler is an open source object persistence library for Java. It is an implementation of the Prevalent System design pattern, in which business objects are kept live in memory and transactions are journaled for system recovery.

the official site: http://prevayler.org/

8 questions
5
votes
2 answers

What are synchronizing strategies for Prevayler?

Prevayler guarantees that all the writes ( through its transactions) are synchronized. But what about reads? Is it right that dirty reads are possible if no explicit synchronizing is used (in user code)? Are they possible if a business object is…
Sergey
  • 2,906
  • 3
  • 27
  • 32
3
votes
2 answers

Has anyone already implemented/ported Prevalence/Prevaylor to Javascript/NodeJS?

Is there an SSJS implementation of the Prevalence System Design Pattern, as implemented in Java by Prevaylor, but for NodeJS instead?
fadedbee
  • 42,671
  • 44
  • 178
  • 308
3
votes
0 answers

How to deserialize object in OpenJDK (Android 7+), which has been serialized in Apache Harmony (Android *-6)?

My app uses http://prevayler.org/ for persistence, piggybacking Java Object serialization. After upgrade to Android 7.0 (Nougat) users cannot open their data, since the deserialization does not work any more: java.io.StreamCorruptedException:…
2
votes
1 answer

The type Prevayler is not generic; it cannot be parameterized with arguments

I have been reading about checkpointing technique for fault tolerance. So, I am working with prevayler java library for checkpointing. Now, I have a error showed The type Prevayler is not generic; it cannot be parameterized with arguments

. Can…

Miss Saung
  • 21
  • 5
2
votes
2 answers

Working with complex objects in Prevayler commands

The demos included in the Prevayler distribution show how to pass in a couple strings (or something simple like that) into a command constructor in order to create or update an object. The problem is that I have an object called MyObject that has a…
alexantd
  • 3,543
  • 3
  • 27
  • 41
2
votes
2 answers

Prevayler Serialization Optimization

I'm working with Prevayler, doing some very simple stress testing. On my program, I can get 10,000 reads in 500ms, but writing or changing one object takes 23ms. (I don't have detailed specs on this computer. Nothing impressive. Dual core 3.0ghz,…
user2699942
  • 143
  • 5
1
vote
2 answers

Size of Java serialized Clojure data structures

I opened this issue on github project prevayler-clj https://github.com/klauswuestefeld/prevayler-clj/issues/1 because 1M short vectors, like this [:a1 1], forming the state of the prevayler, results in 1GB file size when serialized, one by one, with…
icamts
  • 186
  • 1
  • 8
1
vote
1 answer

How to implement application prevalence using dartvm?

What options exist to implement application prevalence (think Prevayler) using dartvm on the server ? I am looking for a pure Dart solution (no inter-process sockets with Java/Prevayler) Any existing code or project ?
user77115
  • 5,517
  • 6
  • 37
  • 40