Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2007

Tip: Looking for answers? Try searching our database.

simple key value pairs in Berkely DB files

Thread view: 
hoosie - 21 Nov 2007 22:25 GMT
Hi,

I'm currently replacing an older perl system with a new one in Java,
and need to be able to create and use a simple BDB file to store key
and value pairs.  I can't find any kind of example or tutorial through
normal means, and I've seen references to both com.sleepycat.bdb and
com.sleepycat.je, but I've no idea how to use them.

Anyone have any sample code?  All I need is to be able to create
whatever.db, add key value pairs, remove key value pairs, and retrieve
values of keys.

Thanks!
-Ian
massiccio - 23 Nov 2007 13:39 GMT
Ian,

you are talking about Oracle Berkeley DB Java Edition. You can
download it for free here [1]. The distribution includes some
examples.

HTH,
Michele

[1] http://www.oracle.com/database/berkeley-db/je/index.html

> Hi,
>
[quoted text clipped - 10 lines]
> Thanks!
> -Ian


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.