Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7535389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T06:17:30+00:00 2026-05-30T06:17:30+00:00

Context: I am learning Java, and am building a web application as a study(learn

  • 0

Context:

I am learning Java, and am building a web application as a study(learn by doing). I’ve decided to use JDO(datanucleus) and H2 for persistence. I am a novice with the Java language, so feel free to consider me pathetically ignorant =)

Question:

Which of the included Jars are required in my classpath? I currently have:

  • api-jdo-3.0.0
  • core-3.0.0
  • rdbms-3.0.0
  • jdo-api-3.1 (javax.jdo package)
  • log4j-1.2.14

I have read through the documentation at Datanucleus.org and I have downloaded the “accessplatform-rdbms-3.0.0-release” from sourceforge. I have also installed the datanucleus plugin for Eclipse(indigo).

To select the ones I have above: I opened up the jars and hunted down the classes referenced in the documentation, and I also found the site MavenHub (I’m not using maven btw) and it looks like there is a dependency listing there. However the access platform contains its own “api-jdo-3.0.0” jar (in addition to the Apache one in the deps\ folder) and a “rdbms-3.0.0” jar. Neither of these are mentioned in the MavenHub dependency list.

I understand that some of the jars provide additional features that I wont need, but I cant seem to find a “basic” implementation list. There are 14 jars in the lib/ folder (“jdo-query-3.0.0” looks pretty important for example). Can anyone advise me on this, or better yet, enlighten me (link a hand holding tutorial or a resource like MavenHub i can use)?

(I was kinda dubious about the MavenHub list because it seemed overly brief.)

Thanks for helping me out

EDIT:

Moved Answer so question appears as answered.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T06:17:31+00:00Added an answer on May 30, 2026 at 6:17 am

    I found it, both on the website and in the tutorial downloads.

    For any others:

    As DataNucleus pointed out; on the website it is under the “enhance your classes” section of the guide.

    src/java/org/datanucleus/samples/jdo/tutorial/Book.java
    src/java/org/datanucleus/samples/jdo/tutorial/Inventory.java
    src/java/org/datanucleus/samples/jdo/tutorial/Product.java
    
    target/classes/org/datanucleus/samples/jdo/tutorial/Book.class
    target/classes/org/datanucleus/samples/jdo/tutorial/Inventory.class
    target/classes/org/datanucleus/samples/jdo/tutorial/Product.class
    
    lib/jdo-api.jar
    lib/datanucleus-core.jar
    lib/datanucleus-api-jdo.jar
    lib/datanucleus-enhancer.jar
    lib/asm.jar
    

    The other location is on the Datanucleus Sourceforge, there are samples:

    “datanucleus-samples-jdo-tutorial-3.0-src.zip” has several Readme files in it and in those files, it lists the necessary files:

    DataNucleus Tutorial for JDO at the CommandLine
    ===============================================
    Download the necessary jars and put them into the lib/ directory
    You will need :-
    datanucleus-core.jar
    datanucleus-enhancer.jar
    datanucleus-api-jdo.jar
    datanucleus-rdbms.jar
    asm.jar (3.0)
    log4j.jar (1.2.*)
    jdo-api.jar (3.0)
    (your-jdbc-driver.jar)
    

    The listing on the site is easy to miss, (I did despite looking several times). Additonally, you have to import (either-or):

    javax.jdo.annotations.[classes];
    javax.jdo.[classes]; 
    

    from the Apache jdo-api.jar to use annotations in your classes, and to reference the Persistence Managers depending on what your doing in the class.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to learn how to write tests. I'm also learning Java, I was
In the context of a Java/OpenGL application I am drawing a black wired only
I'm learning android and java and am trying to learn how to make a
I am trying (and learning) to build a java web framework, and in the
I am trying to learn java web programming. I come from a perl scripting
I am writing web app for java learning. Using which users may compile their
Recently I've started learning about Contexts in .NET (context-bound, context-agile, message sinks, etc.). Several
Context: I'm in charge of running a service written in .NET. Proprietary application. It
Context PHP 5.3.x Overview After doing a code-review with an associate who uses both
Context: There's an application where you draw things on canvas. Where user clicks there's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.