Java data object (Java Data Objects (JDO))

xiaoxiao2021-03-06  50

Java Data Objects (JDO) is a new technology for Sun Microsystems. Although JDO is still unprinted (just released 1.0 specification), it has a development prospect, and it fills a large blank in the field of database programming. For Java developers, JDO provides the first standardized, fully object-to-object method for subject persistence. Compared to other technologies in this area, the advantage of JDO is very simple, and the degree of disruption of the original Java source code is minimized. In addition, even for experienced programmers, the persistence of JDBC and EJB container management is also very complicated, while JDO is a database programming in simplifying database programming with Java languages. Many work have been done. In this tutorial, we will use discussions, code samples, and practice to learn about JDO practical applications.

Preparatory knowledge

This tutorial is designed for medium and advanced Java developers. To maximize this tutorial, you should have experience in using the Java 2 platform and have a good understanding of the working principle of relational databases. Understanding some JDBC knowledge will be useful. We specialize in this tutorial to developers who seek a persistent method in the object. If you don't want to use the "Brain" EJB technology, you don't want to deal with the relationship semantics brought by JDBC, JDO can provide a solution to the two full beauty solutions you need.

system requirement

JDO can be used in combination with Java 2 platforms, standard version platforms. The JDO downloaded from Sun Microsystems has a reference implementation, but when writing this tutorial, the reference implementation is also considered unreliable. Its tool is not strong enough, and it cannot be used in general purposes. Get a more reliable JDO implementation in Libelis (for educational purposes, registration). The practice in this tutorial is based on the Libelis JDO. In addition to the JDO implementation, you also need JDBC drivers and relational databases to complete exercises. In addition to the JDO implementation, all the tools used are open source. The following techniques and resources are required to complete the practice in this tutorial: Libelis community version JDO (LIDO). Site registration is required when downloading. Java 2 platform, standard version. Standard editor and JDK for compiling and running examples. MySQL open source relational database. MM.MYSQL open source JDBC driver for MySQL. Example binary files and source code.

转载请注明原文地址:https://www.9cbs.com/read-40776.html

New Post(0)