Reputation: 107
I understand that POF is needed if you are using C++ and .Net clients. However, what are the factors that can help decide whether to use POF for Java clients using Oracle Coherence cache?
As per the Oracle documentation, POF gives performance benefit over default java serialization. So, why don't all applications using Coherence go for POF instead of Java serialization?
Upvotes: 5
Views: 3178
Reputation: 10543
From my understanding:
Java serialisation
Advantages
Disadvantages
POF serialisation
Also, you could look at the various serialisation schemas: JSON, XML, Protocol Buffers, Avro, Thrift, etc. In longer term, they may offer these advantages:
Upvotes: 5
Reputation: 6051
Benefits and drawbacks are described in POF documentation
With standard Java serialisation you don't need to implement readExternal, writeExtrenal methods
Upvotes: 0