Back To Jython/DB4O: Part 1

Knight Ok, I let this work drop a while ago, but I have received a few requests for more info on using DB4O in Jython. Let’s make it clear, I am just playing with Jython and DB4O, but if this information is useful to you, then that makes me happy.

If you are impatient, like me, follow the steps I outline below, and you can stop reading here.

First things first: get the book. You can purchase the PDF of the Definitive Guide to Jython by clicking on the image of the book that appears above. Or, you can view a preview that is available at Google Books.

Last, but not least, there is also an open source version of the book. I will refer to this version in my examples, but, if you own the book, follow along.

I suggest that you download Aptana and install PyDev – that is the IDE I will be using in my examples. Since Aptana is based on Eclipse, you also have the option of installing the PyDev plugin in your current Eclipse Install.

I am going to assume that you have Java running on your machine, but I will provide instructions for the other steps. So, just to keep things easy, to get started follow these steps:

Get the software.

  1. Install Jython on your machine.
  2. Get Pydev running on your machine. (As part of Aptana, or as an Eclipse plugin.)
  3. Get the latest version of DB4O for Java.

Bookmark the useful resources:

  1. The Definitive Guide to Jython
  2. The PyDev Documentation
  3. The DB4O Documentation

You are free to bookmark these resources any way you please, but I am fond of Delicious because I can access my links from anywhere, because there is a Delicious API and because there are some cool plugins for Firefox and Google Chrome that make it more fun to use the service.

Get this done, and move on to part 2 when I have written it.