value « serialize « Java I/O Q&A

1. Suggestion about storing values in file in Java?

I have a program where i generate a huge matrix and once it is calculated, i have to reuse it at later times. For that reason, i want to cache it ...

2. How to avoid serializing zero values with Simple Xml

I'm trying to serialise an object using simple xml ( The object setup is pretty simple:

@Root(name = "order_history")
public class OrderHistory {

    @Element(name = "id", required = false)

3. atibutes with no value after serialization