I have the following requirements:
- Save a list of users to disk for later download. Each user can have 3 or 4 properties. Typically, from tens to hundreds of users, thousands of users must be supported (support of more than 10,000 is not required).
- Save a list of records to disk for future download. Each entry probably has a dozen properties. Typically, from 0 to 10 records, but the number of records at a low level of thousands should be supported (to handle the case when records are not processed for a certain period of time due to the network not working).
Users are usually recorded as a package, and then periodically search to find one with a given property (for example, to authenticate a user through the provided password).
Records are recorded intermittently and read intermittently (the latter is a periodic task that processes and transfers them before deleting the record).
I face the following limitations:
- This is an embedded device that only supports a subset of Java 1.1.8 / 1.2.x. Packages Included:
- java.lang
- java.io
- java.util
- java.net
- java.lang.reflect
- java.util.zip
- java.math
- java.text
- java.security
- Devices have rather modest resources (for example, ~ 20 MB of RAM depending on the device), which makes it desirable to store them on disk, and not in memory, if possible.
- , , . .
- , , , / .
, , , , (, -) ObjectOutputStream .
, :
- , , , . , .
- , ( , ?), ( ).
, , . derby sqlite. JDBC, (java.sql. * ).
- , ?