0

Hi, I'm working on a program that needs to store user info, then can retrieve it at any time, even after it has been shut down and restarted.

Is there any way that I can do this?

I tried looking online, but couldn't find anything....

4
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by ~s.o.s~
0

> I'm working on a program that needs to store user info, then can
> retrieve it

In short, your program needs some sort of persistence mechanism. You have a few options:
- Object persistence [search the web for java serialization API]
- File persistence [saving the data in the form of CSVs]
- Database persistence which again comes in two flavors:
--- Serverless databases like SQLite, excellent for standalong apps
--- Server databases like Oracle recommended for n-tier distributed applications.

Take your pick.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.