Category: 

What are Java&Reg; Data Objects?

Article Details
  • Written By: Troy Holmes
  • Edited By: W. Everett
  • Last Modified Date: 29 September 2016
  • Copyright Protected:
    2003-2016
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
The atmosphere of Jupiter's moon Io collapses every time it is eclipsed by the planet.   more...

September 29 ,  2008 :  The Dow Jones Industrial Average experienced its largest one-day drop in history.  more...

Java® programming is a computer software language that uses modules and functions to manipulate data. Java® data objects (JDO) is a Java® module that is used to transform data from a database into the Java® software programming language. These data objects are used by developers to change the data that comes from the database. This is a standard method used by Java® programs to access and change data.

Conceptually, Java® data objects are nothing more then data elements from a database. These elements are broken into components that map specific functional types of data. Some examples of data objects include people, addresses, and phone numbers. Each data object has a specific purpose for the application. It is simple method of separating data into individual components.

Java® data objects are widely used by Java® software developers. The JDO module includes a specific application programming interface (API) to manipulate the data from the database. This API enables Java® programmers to access and change data within a program.

There are many tutorials available on the Internet that explain how to use Java® data objects. These tutorials typically include examples and developer forums that provide assistance for programmers. Most developers can learn how to use the JDO in a few days. This is a relatively simple API to learn for an experienced Java® programmer.

Ad

The architecture approach used by Java® data objects is known as object-relational mapping. This is a computer programming method of mapping data into objects. Each object has control over the data contained within the object. It also has relationships to other objects based on predefined rules.

There are several alternatives to Java® data objects. These include complex enterprise Java® beans (EJB) and simple Java® database connectivity (JDBC) techniques. These technologies can be used instead of Java® data objects and each comes with its owns pros and cons. One of the benefits to Java® data objects is that it provides a standard API for querying multiple types of databases, which never changes regardless of the database used.

One of the issues with JDO is its inability to handle complex functions and database updates. The JDO module supports standard access methods, but complex joins and distributed updates become problematic. If a software program requires complex manipulation of data, the JDO module may not be a suitable option.

Ad

You might also Like

Recommended

Discuss this Article

Post your comments

exception 'Exception' with message 'error writing captcha: Duplicate entry '2147483647' for key 'PRIMARY'' in /ssd/www/wisegeek/public_html/_core/classes/public/Captcha.php:44
Stack trace:
#0 /ssd/www/wisegeek/public_html/_core/controls/public/ControlDiscussionPostBox.php(324): Captcha->createCaptcha()
#1 /ssd/www/wisegeek/public_html/framework/classes/Control.php(104): ControlDiscussionPostBox->preRender(false)
#2 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): Control->render()
#3 /ssd/www/wisegeek/public_html/tpl/default-nocustom-lu/pages/public/article/article.htm(526): Control->__toString()
#4 /ssd/www/wisegeek/public_html/framework/classes/Control.php(300): require('/ssd/www/wisege...')
#5 /ssd/www/wisegeek/public_html/framework/classes/Control.php(309): Control->requireTpl('pages/public/ar...', Object(PageArticleCom), true)
#6 /ssd/www/wisegeek/public_html/framework/classes/Control.php(131): Control->renderTpl('pages/public/ar...', Object(PageArticleCom))
#7 /ssd/www/wisegeek/public_html/framework/classes/FormDataControl.php(87): Control->renderTemplate()
#8 /ssd/www/wisegeek/public_html/framework/classes/Control.php(109): FormDataControl->renderTemplate()
#9 /ssd/www/wisegeek/public_html/framework/classes/ScriptPage.php(50): Control->render(false)
#10 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): ScriptPage->render()
#11 /ssd/www/wisegeek/public_html/framework/classes/Page.php(97): Control->__toString()
#12 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(443): Page->processRequest()
#13 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(7): PublicFrontController->renderPage()
#14 /ssd/www/wisegeek/public_html/index.php(11): PublicFrontController::run()
#15 {main}