Object-Relational Mapping (ORM) Main
Articles:
- Lightweight R/O Mapping by Norbert Ehreke - [Clicks: 43]
This article proposes a reversed, lightweight approach supported by a small framework called Amber. This approach uses Java annotations to manage the CRUD cycle (Create Read Update Delete) of JavaBeans. Transaction management is put back into the database, and XML mapping descriptors are replaced by annotations. This article is for intermediate Java developers who are interested in efficient transactions with databases without XML descriptors.
http://www.onjava.com/pub/a/onjava/2005/12/07/relational-object-mapping.html - Dec, 2005 - Secrets of lightweight development success, Part 6: Persistence strategies by Bruce Tate - [Clicks: 86]
Persistence frameworks are an extremely important part of any Java technology application. The choices are daunting. So, too often, developers make the popular choice, whether it's Enterprise JavaBeans or Hibernate. Often, you don't need a full object relational mapping layer. Even if you do, other persistence solutions have much to offer. Hibernate is free and rich. Kodo JDO has excellent management and mapping support. iBATIS is a hybrid solution that maps objects to the result of SQL queries, rather than tables. Even JDO has its place. This article discusses each solution and gives you some ways to choose the best one.
http://www-128.ibm.com/developerworks/java/library/os-lightweight6/index.html - Sep, 2005 - Step 9: Of Persistence and POJOs: Bridging the Object and Relational Worlds using Spring and TopLink by Rod Johnson, Jim Clark - [Clicks: 118]
In this installment of "Mastering J2EE," we'll look at two different (albeit, not mutually exclusive) frameworks that can work together or independently to help you overcome the complexity of accessing persistent data in J2EE applications, specifically: -- TopLink, a powerful object-relational persistence framework that provides object-oriented applications with a highly flexible, productive mechanism to access relational data; -- The Spring Framework, a leading open source J2EE application framework, published under the Apache Software License. Spring provides services for all architectural tiers, but is particularly strong with respect to persistence by providing a consistent approach to data access. As you'll see, Spring's persistence services layer encompasses an implementation of the DAO (Data Access Objects) J2EE design pattern.
[Mastering J2EE Application Development Series]
http://www.oracle.com/technology/pub/articles/masterj2ee/j2ee_wk9.html - Jan, 2005 - Use search engine technology for object persistence by Mikhail Garber - [Clicks: 128]
In this article, Mikhail Garber looks at how to address an old problem—provide simple persistence to basic JavaBeans—with a new twist. He shows you how to achieve this goal without the complexity of a full-blown database- or XML-driven solution. At the same time, he doesn't over-simplify the problem by falling back on silly property files and in-memory schemes. Instead, he shows you how to use common search engine technology to treat objects as documents being indexed and searched. You will be surprised by how robust and responsive this solution can become. Read on for a play-by-play account of how to build this system.
[Includes source code]
http://www.javaworld.com/javaworld/jw-01-2005/jw-0103-search.html - Jan, 2005
[Top]