Wednesday, April 6, 2011

Is it possible to access a BDB from pure Java?

Hi

I'm trying to access "cert8.db" mozilla file which is a BDB database. I know that there are bindings for languages, Java among them, but I'm trying to build a multiplatform app so I think that using JNI such as this one would be a problem.

Thanks in advance.

From stackoverflow
  • You don't need full BDB package to read that file. Check out this class,

    http://sam.nipl.net/code/mindterm/com/mindbright/bdb/DBHash.java

    ktulur : Interesting, much thanks. Reading.... What about writing?
    ZZ Coder : No. Read-only. If you are going to write, you should just convert it to the format used by Sleepycat Java library.

0 comments:

Post a Comment