About InfoWorld : Advertise : Subscribe : Contact Us : Awards : Events : Store
InfoWorld HomeNewsTest CenterOpinionsProduct GuideTechIndex
PRODUCT REVIEWS GUIDE    REVIEWS    ANALYSES    SPECIAL REPORTS 
 

TEST CENTER

 
JDO streamlines data access in Java

By Maggie Biggs
November 2, 2001


MAKING CORPORATE DATA accessible to business applications today typically falls into the capable hands of Java developers, who often spend a good deal of time writing code specifically for data access and manipulation. A new standard called JDO (Java Data Objects) promises to simplify the coding of interactions between business applications and data sources by letting developers use transparent, object-based access to those data sources. Simply put, JDO allows developers to work with data using familiar Java constructs rather than having to write database-specific code, such as SQL, to manage data access and manipulation.

   ADVERTISEMENT
  

Free IT resource

Virtualization Insights from Top Experts - Learn how virtualization gets real!

Sponsored by Dell

Free IT resource

TechNet: More ways to know it, share it, and keep it running.

Sponsored by Microsoft

RELATED LINKS
»  AT&T buys high-speed wireless spectrum for $2.5 billion
»  Update: Sprint chief Forsee resigns
»  IT trainer offers master's degree for hackers
»  Wireless RSS feed 

IDG ENTERPRISE NETWORK
More Network LAN/WAN News...  (ComputerWorld)
Wireless EV-DO on board  (ComputerWorld)

TOP NEWS 


IT SOLUTION SEARCH

For both business leaders and IT managers, the new JDO standard will help reduce costs on a number of fronts. By simplifying the coding behind data access, JDO shortens application-development cycles and speeds up deployment. Furthermore, because corporate developers no longer need to be both Java programmers and database access experts, training costs are reduced and programmers can focus more closely on the business logic needed to power corporate applications.

In addition to boosting developer productivity and lowering development costs, JDO improves software quality. Because developers avoid having to write database-specific interactions, companies should see a reduction in coding bugs. Moreover, implementing data access via objects also allows corporate programmers to increase component reuse, which also helps speed along the development of business applications.

JDO can be implemented in a wide variety of settings, including mobile applications, two-tier client/server applications, and ntier enterprise environments. JDO classes can be reused on any tier, which also improves portability and makes it easier to quickly deploy data-related business apps in a number of different settings without having to take on additional coding.

JDO on the radar

The JDO standard effort began more than a year ago through the Java Community Process (www.jcp.org). The standard is now reaching its final draft, and with a milestone release of the reference implementation currently available, several tools and middle-tier solutions are beginning to offer support for JDO.

By the end of 2001, expect JDO support to be available in a wide range of products, including Java and wireless development environments, object/relational mapping tools, middle-tier application servers, and back-end databases -- both relational and object-oriented.

In our early work with JDO, we have found the standard to be well-defined except with regard to the methods used to map data configurations. The JDO standard does not specify how tools vendors are supposed to implement data mapping, and so products differ in approach. JDO does require, however, the output of mapping operations to be binary-compatible; as a result, companies will likely care little how data mapping is carried out as long as developers are satisfied with the techniques used by the vendor.

JDO and the Java platform

With the arrival of JDO, some developers may have questions about how JDO relates to other portions of the Java platform. For example, many developers may wonder how JDO relates to existing data-access techniques such as JDBC (Java Database Connectivity).

JDO is an alternative to JDBC but not a replacement for it. Existing applications that use JDBC will continue functioning as is, and new applications can be written using JDBC when a database-specific coding strategy is preferred. Moreover, developers may not want to move existing applications that use JDBC to JDO unless they perform frequent application maintenance on them.

JDO also complements EJB (Enterprise JavaBeans). For example, programmers can use JDO and EJBs together to access data, either using persistent classes in Session Beans, delegate classes in BMP (Bean-Managed Persistence) Entity Beans, or a container implementation alternative to JDBC in CMP (Container-Managed Persistence) Entity Beans. Developers need not modify existing applications that use EJBs, but they may wish to implement JDO with EJBs to simplify data access methods.

According to Sun Microsystems, no decision has yet been made concerning whether or not the company will include JDO support in the next version of the Java 2 Platform, but available documentation suggests that JDO will be referenced in future Java Platform specifications.

A win-win situation

The JDO standard promises to be a winner for business leaders and corporate developers alike. Unifying data access -- that is, using familiar Java constructs to access information housed in relational databases, object databases, file systems, or even Flash RAM -- means that corporate applications will experience an increase in usability, portability, and integration.

Making data more accessible to Java developers also helps reduce development and deployment costs. Developers can work with data transparently using the Java language and thereby avoid writing database-specific interfaces, boosting their productivity and in turn bolstering the bottom line.


Contributing Editor Maggie Biggs (maggie_biggs@infoworld.com) has been developing business applications for more than 15 years.



  BOTTOM LINE
Java Data Objects
EXECUTIVE SUMMARY
The JDO (Java Data Objects) standard promises to simplify data-related coding tasks for Java developers. Rather than having to write database-specific code, such as SQL, programmers can use JDO to access and manipulate business data using familiar Java language constructs.

TEST CENTER PERSPECTIVE
CTOs should look to JDO to increase data integration while reducing development and deployment costs. JDO can also reduce training requirements, increase component reuse and application portability, and improve software quality.


Get up to speed with JDO

The fastest way to learn to code with JDO is to download the specifications, related documentation, and trial versions of products that support the standard.

JDO Specification: jcp.org/jsr/detail/012.jsp
JDO Public Access Page: access1.sun.com/jdo
PrismTech's OpenFusion JDO: www.prismtechnologies.com/English/Products/JDO/index.html
Sun's Forte for Java (download): www.sun.com/forte/ffj/resources/downloads/index.html
Sun's Forte for Java (tutorial): www.sun.com/forte/ffj/resources/documentation/ffjcetut.pdf
TechTrader's Kodo JDO: www.techtrader.com/products/jdo.html
Thought's CocoBase: www.thoughtinc.com/cber_index.html
CastorJDO (open source): castor.exolab.org/jdo.html



SPONSORED WHITE PAPERS
EMC - Lower costs and improve reliability-Get the EMC CLARiiON white paper!
Ciphertrust - Are you ready for Sobig.G? Learn how to protect your email systems.
CDW - Personal attention. CDW. The Right Technology. Right Away.
EMC - Explore key performance features and capabilities of EMC ControlCenter 5.1.1.
Intel - Free Intel white paper shows you how to deploy a secure wireless LAN
Cisco - FREE WHITE PAPER: BLUEPRINT to design and implement secure VPNs
Verity, Inc. - "Mass Consolidation Hits the Web-Search Market"
McDATA - Download a FREE storage consolidation white paper from McDATA(R).
Lucent Technologies - Overcoming Common Firewall Limitations
Lucent Technologies - Leverage Your Mobile High Speed Data Access. Download Free White Paper!
Nokia - Get the scoop! Mobilizing business white papers & case studies.
BMC Software - Maximize the Potential of Enterprise Data: Free white paper!
Network Associates - Free white paper - Strategies for Optimizing Network Costs and Benefits
Entrust - Manage identities across applications. Improve productivity.
Stalker Software - CommuniGate Pro - Transform your Email and Calendaring
Remedy - A NEW Gartner Research Note:Producing Quality IT Services

Search the IDG White Paper Library:


SPONSORED LINKS

INFOWORLD MARKETPLACE


» Hot Stock Alert (TMDI)
Telemedicus - Medical Communication Top Telemedicine Technology
» Apply BPM and ITIL at your IT Help Desk
ServiceWise brings BPM to complete IT service while eliminating integration cost. Learn more here.
» EMC delivers high-speed image capture, storage
Learn how you can quickly capture, organize, and deliver information with EMC ApplicationXtender.
» Register for your free VMWare Virtualization kit!
VMware virtualization takes the cost and complexity out of IT  Download this free kit to learn how.
» FREE Sophos Threat Detection Test
Is your AV catching everything it should? Free virus, spyware and adware scan.




 HOME  NEWS  TEST CENTER  OPINIONS  PRODUCT GUIDE  TECHINDEX   About : Advertise : Subscribe : Contact Us : Awards : Events 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy

All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses, phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

Computerworld :: Network World :: CIO :: PC World :: Darwin :: CMO :: CSO
IT Careers :: JavaWorld :: Macworld :: Mac Central :: Playlist :: GamePro :: GameStar :: Gamerhelp
ITWorld Canada :: Computerwoche :: Techworld UK :: tecChannel :: IDG.se :: IDG.no