Stomp
How to download and install
Stomp.
Stomp uses the Serp bytecode toolkit to enhance Java class files and, primarily, make JDO easy to use. It has to do some XML parsing of metadata files to determine which Java objects to enhance, and it uses some classes defined in the EJB specification for Transaction management. As you can see, Stomp is trying to combine several different technologies into one package, and you may need to spend a little time getting Stomp setup correctly. Stick with it. The time you spend now will be more than made up for in saved time developing robust, persistent objects.
To install Stomp, you first need to have downloaded and installed Java (J2SE). Stomp was built and tested with Java 1.3, and should work with many other versions of Java. After that, you’ll need to download the following jar files and add them to your CLASSPATH:
- Download the class files that make up Stomp.
- Download and install Kodo JDO. It’s a good idea to become familiar with JDO by reading their tutorial and getting an example working with your chosen database as well. Although Stomp does a good job of abstracting away JDO, having a little more insight into what is really going on will be helpful later. Getting a test working will eliminate possibilities later if you have trouble starting with Stomp (you’ll know that it’s not a problem connecting to the database, or with your JDBC driver, or with your JDO implementation, etc).
Stomp will work with JDO reference implementation at some point in the future, and I expect other JDO vendors to write simple plug-ins for their own proprietary implementations as well. I’ll add links for those when they are ready.
Once you have downloaded these class files and added them to your CLASSPATH, you are ready to Stomp an object. Move on to the examples to get some sample objects, and instructions on how to run Stomp. If you have questions, go back to the home page and look for information on where to send them.