Object-Relational Mapping (ORM) Main
Articles:
- Testing a persistent domain model by Chris Richardson - [Clicks: 20]
Some developers treat testing like flossing - with great reluctance or not at all. But testing is a key part of the software development process, and prevents software decay. In this article Chris Richardson describes the different kinds of ORM bugs and how to write tests to detect them.
http://www.theserverside.com/tt/articles/article.tss?l=PersistentDomain - Jun, 2006 - Object-relational Mapping with Cayenne ORM by Benoy Jose - [Clicks: 44]
This article will take you through some of the features that make Cayenne a powerful choice for your ORM needs. Cayenne comes with a GUI-based ORM tool that generates Java classes and also provides an API to access thosesame classes.
http://javaboutique.internet.com/reviews/cayenne/ - May, 2006 - Agile Object to Relational Database Replication with db4o by Jim Paterson - [Clicks: 32]
Start with the idea of an object database, like db4o, which effortlessly persists arbitrary objects, even those with deep structures, into a database. Then mix in a little Hibernate. Now you can map objects to either the db4o database or a relational database. And as Jim Paterson shows, the db4o Replication System allows you to do some interesting things, even replicating between two relational databases, using db4o in the middle.
http://www.onjava.com/pub/a/onjava/2006/04/12/object-to-relational-database-replciation-with-db40.html - Apr, 2006 - Java and the Empowered Database by Norbert Ehreke - [Clicks: 28]
This article proposes a reversed approach where the modelling is done in the relational tier and as much business logic as possible is handled within the database by employing a set of stored procedures as the middle tier. A lightweight Java API, called Amber, is introduced that uses Java annotations instead of XML descriptors to help marshal result sets to Java objects and back into the database. This text discusses the reversed nature of R/O mapping compared to O/R mapping, points out pros and cons, and shows how Amber, in concert with a set of stored procedures, can be used for simple yet powerful R/O mapping. While this text deals with these issues in a little more abstract way and more from the point of view of the database, an introductory article on Amber, its mapping strategy and its underlying concepts has been published under the title Lightweight R/O Mapping.
http://www.theserverside.com/articles/article.tss?l=JavaEmpoweredDatabase - Feb, 2006
[Top]