Db4o NetBeans Plugin_0.1.0.doc

foreheadsobstinacySoftware and s/w Development

Aug 15, 2012 (4 years and 11 months ago)

608 views

Db4o
-
NetBeans
-
Plugin
, Version 0.
1


Introduction


Db4oNetBeans is a plugin for the NetBeans IDE to explore and query the db4o
database content (http://www.db4o.com)).

It is possible to open a custom number of db4o databases and explore and change
the conte
nt in a

db4o database editor window.


Feature

list for version 0.1
:



Open a db4o database



Close a db4o database explicitly



Browse the objects stored in the database



Change properties of stored objects



Add/Remove objects



Query objects


Accessing a db4o data
base


As a preview, some information about the
capabilities offered in the first version


db4o database
s are accessed
by simply creating a custom file type choosing
New
File
on the
File
menu.





After entering a name,
a file of type db4o
is added
to
the

selected
java project.




Using the context menu item
Open

opens the
database in the db4o database
editor
to visualize the db4o database content. The editor
can be
used to navigate the
database content, add or remove objects to or from the database or
si
mply
change
values of stored objects.




Values are edited and changed in the regular properties window provided by
NetBeans IDE.



Queries


A first simple approach to
add support
db4o database queries are based on soda
queries. The

elements of a query

w
ill be added as sub nodes to the db4o database
node in the navigator window.




However, this approach has some limitations but is easy to implement

for the
beginning
.

Executing the query opens another editor window for the query results.




The count of

objects affected by the query is
displayed in the properties view,
additionally
it is
displayed in the title.