Solved

JDO

Posted on 2004-10-24
192 Views
Last Modified: 2013-11-24
Hey all,

Just wanted to know if JDO is alternative to JDBC? I.e which is the best to use for database conectivity?

Thanks
0
Question by:lcoolsingh
    6 Comments
     
    LVL 13

    Accepted Solution

    by:
    JDO is not correspondent or competing with JDBC JDO is competing with EJB Entity beans, JDO is an object that presents a Presistant entity, which means it is needed to be stored into database and JDO uses JDBC to store its data into database. for more information refer to those links:

    http://www.jguru.com/faq/view.jsp?EID=1078764

    http://www.javaolympus.com/J2SE/Database/JDO/JDO.jsp
    0
     

    Author Comment

    by:lcoolsingh
    Hi again,

    Thanks for the reply... Basically im goin to be doin alot of database work with java, so would you recommend me using JDBC? Or is their some other database API/Interface for example that i can use with java for accessing data from a database?

    Thanks
    0
     
    LVL 13

    Expert Comment

    by:petmagdy
    In all cases u will use JDBC but I recommend that u use a persistance technology to ease the development and increase ur productivity, if ur application server is J2EE 1.3 complaint go for the EJB model (Session + entity beans) and use the paterns found at:

    http://java.sun.com/blueprints/patterns/index.html

    if not their is a lot of alternative persistance technologies like:
    1- hibernate refer to http://www.hibernate.org/
    2- Toplink refer to http://otn.oracle.com

    Good luck
    0
     

    Author Comment

    by:lcoolsingh
    Im going to be developing a standalone desktop information system, surely JDBC would be appriopiate 4 this?

    Thanks
    0
     
    LVL 13

    Expert Comment

    by:petmagdy
    Yes and u can Adopt JDO too
    0
     
    LVL 21

    Expert Comment

    by:MogalManic
    If your datastructures are simple, you can just use plain object serialization or XML to save your persistant data.
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: JavaScript Coding - Massive 12-Part Bundle

    Regardless of your programming skill level, you'll go from basics to advanced concepts in a vast array of JavaScript subjects including Sammy.js, Agility.js, Ember.js, Node.js, jQuery, AJAX, Extjs, AngularJS, Knockout.js, and JSON.

    For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
    Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
    Video by: Michael
    Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
    Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

    913 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now