The Properties class works for String persistence.
Applets have AppletContext. setStream to allow a session to leave notes for another.
There is the Preferences class for storing information in the registry or equivalent, which requires signing in Applets. Preferences store information in a very fluffy format. The registry is notoriously fragile, and is difficult to backup/restore.
For heavy duty applications you use a POD, a Persistent Object Database.
In J2EE, there in a
that uses an XML format. It is quite complicated with entities and a query language. Hibernate is a superset of this API.![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.16] | The information on this page is for non-military use only. | ||
| You are visitor number 7,750. | Military use includes use by defence contractors. | ||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/Mindprod website mirror) | ||
| http://mindprod.com/jgloss/persistence.html | J:\mindprod\jgloss\persistence.html | ||