Eric Mosley wrote:

> Thanks for all the responses! Most people suggested an rdbms with JDBC
> which is something I'll look into.
> But, seeing as how I know that there will be only about 2000 objects, what
> if I just read them in and put them in a vector/linked list/hash table. In
> your experience would that slow the app down/bloat it out too much for
> comfort?
> If it was C++ I wouldn't even worry about it.

Stop !

There is a much better way: using an object database. Look at www.odi.com and
download the free ObjectStore - PSE. This is a pure Java database, so it runs
on every platform. The version 2.0 is just released an it is fantatastic !

With this solution you don't have to deal with two models (object model for
java and a data model for the database). You just have one object model. When
you postprocess a class file, you indicate that objects of this class are
persistent. There is not much coding for persistency. So you won't have about
30 % JDBC coding for mapping objects to tables.

Good luck !

Herald

Reply via email to