views:

267

answers:

1

Hi all,

I'm using Berkeley DB Java edition, via the DPL interface.
I want to ask if someone knows about any GUI library that could make it easy to browse the data saved in the database.

I know that BDB documentation says that the metadata about the stored entities is not saved in any place and therefore only the person who have written the data can know what are the types of the classes that would be returned from there. That's why I'm searching for a library (not a complete program) that would be included to the main project and so it would know the types of my classes and would be able to show the data correctly.

p.s. I've found this bdb-browser but it seems like a dead project.

Update:
So far I've found a GUI that shows the statistics gathered for the BDB via the JMX. Here is how to use it: http://www.oracle.com/technology/documentation/berkeley-db/je/jconsole/JConsole-plugin.html
Still searching for data browser...

A: 

I did a quick search and didn't find anything.

I don't think you're going to have a lot of luck looking for a data browser, because the format of the value in each database entry is going to be variable. For example, it might be primitive data, data written out by the default Java serialization, or a custom format for an instance of a class which implements Externalizable.

Paul Morie
For the DPL there is a need just to have the entity classes on the CLASS_PATH. I've written a simple swing app that displays the data itself, but if is still in "alfa" status. After I'll have time to finish, I'll publish it.
jutky