[Xastir-dev] Topic: Data Persistence, Xastir-NG
Paul J. Morris
mole at morris.net
Fri Jun 13 17:08:13 EDT 2008
On Fri, 13 Jun 2008 13:23:35 -0700 (PDT)
"Curt, WE7U" <archer at eskimo.com> wrote:
> Does anyone have experience with persistence mechanisms,
> particularly cross-platform?
Hibernate is a good tool for generating java classes over arbitrary
databases. http://www.hibernate.org/ I've also used Castor for
generating java objects out of xml schemas and mapping those onto
database objects.
I do a lot of coding on various PHP, Java, and MS Access front ends over
MySQL, Oracle, and Postgresql. Generating objects from a database
schema with tools like hibernate is much easier to do and maintain
than doing it by hand.
I'm in the process of hacking a PHP 5 object persistence layer
supporting CRUD into Druid, but the objects representing the tables are
themselves connecting to the database, rather than hibernate's more
abstract (and better for plugging in different back ends) framework.
Merry Snailing,
-Paul
--
Paul J. Morris
Biodiversity Informatics Manager
Harvard University Herbaria/Museum of Comparative Zoölogy
mole at morris.net AA3SD PGP public key available
More information about the Xastir-dev
mailing list