ONJava.com    
 Published on ONJava.com (http://www.onjava.com/)
 See this if you're having trouble printing code examples


Using Castor JDO for SQL Mapping

by
ONJava Newsletter for 10/03/2002

Dear Reader,

This week on ONJava.com, Jeff Lowery explains how Castor JDO provides a lot of capability for simplifying the storage of Java data objects in relational tables and why mapping is so efficient. For example, the use of a mapping file to direct the Castor JDO engine on how to store object member data to table rows and columns reduces the amount of "grunge" code involved in query/ update procedures. Mapping files maintain information about object dependencies as well as primary and foreign keys. Furthermore, you don't have to fuss with such dependencies in either the application code or the database schema.

Also this week, O'Reilly's "Java NIO" author Ron Hitchens chimes in with what he believes are the top ten new things you can do with NIO that you couldn't do before in Java. Despite the fact that "N" stands for "New," NIO is not a replacement for the older I/O classes. It's an alternate approach to modeling I/O services, with less emphasis on the streaming model. NIO concentrates on providing consistent, portable APIs to access all sorts of I/O services with minimum overhead and maximum efficiency.

And finally this week, ONJava.com hosts the fourth in a series of book excerpts on getting started with JXTA from O'Reilly's "JXTA in a Nutshell." In this excerpt, learn about pipes or pipe services. The idea of a pipe is familiar to users of Unix systems: a pipe connects the output from one command to the input of another command.

To subscribe to the ONJava.com newsletter (or any O'Reilly Network newsletters), visit https://epoch.oreilly.com/account/default.orm and select the newsletters you wish to receive in your user profile (you'll need to log in with your existing O'Reilly Network account -- if you don't yet have an account, you'll need to create one).

To change your newsletter subscription options, please visit https://epoch.oreilly.com/account/default.orm and click the"Manage My Newsletters" link. For assistance, send help to

Talk to you again next week.

Steve Anglin
O'Reilly Network Java Editor
sanglin@oreilly.com

This Week's Featured Articles

Using Castor JDO for SQL Mapping
An in-depth look at using Castor's marshalling engine to do data binding of Java objects to table, rows, and columns in an SQL database.

Top Ten New Things You Can Do with NIO That You Couldn't Do Before
NIO brings a host of powerful new capabilities to the Java platform. In this article, Ron Hitchens, author of Java NIO, lists a slew of new things you can do with NIO that you couldn't do before in Java.

Getting Started with JXTA, Part 4
Getting Started with JXTA, Part 4 In part four in this series of book excerpts on getting started with JXTA from JXTA in a Nutshell, learn about JXTA pipes.

ONJava.com News and Weblogs

2003 JavaOne Call for Papers
The Call for Papers opened on September 30, 2002 and will conclude on November 8, 2002. Submissions will be selected by December 6, 2002 and notifications will begin around December 13, 2002

XML acronyms for Java developers
Here's a XML Glossary from JavaWorld, containing terms used in Web services.

Has Java passed its prime?
According to this Java Pro article and a Meta report, it has certainly peaked. As cycles go, it may be a sign of beginning decline. Judge for yourself.

Java at the O'Reilly Mac OS X Conference
Visit the O'Reilly Mac OS X Conference next week. It will have a Java keynote by James Gosling, along with several Java tutorials and sessions by the likes of Daniel H. Steinberg and O'Reilly Java Cookbook author Ian Darwin.

Meerkat Java News
For more Java news, check out O'Reilly Network's Meerkat service on the ONJava.com home page or go to oreillynet.com/meerkat and select Java as subject.

Other O'Reilly Network sites

O'Reilly Network

XML.com

ONLamp.com

O'Reilly and Associates

O'Reilly Java

ONJava.com Affiliates

Servlets.com.

JDOM.org


Return to list of ONJava Newsletters.

Return to the ONJava.com.

Copyright © 2009 O'Reilly Media, Inc.