Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Looking at Exploring Database Connecting

  1. #1
    Forum VIP
    Join Date
    Jul 2010
    Posts
    1,676
    Thanks
    25
    Thanked 329 Times in 305 Posts

    Default Looking at Exploring Database Connecting

    Hey, I'm looking at learning how to work with Databasing to store large amounts of data that is unrealistic and inefficient to store in excel files. Specifically, connecting with Access Databases. I wanted to know if there was any special Libraries I needed to connect or if there were any tips anyone could provide for me. I've looked at JDBC briefly, but I still can't tell definitely if it comes standard with Java or if it is an external Library. If I do need to download a Library, does anyone know any that are fairly simple to use?

    Any assistance is appreciated.


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Looking at Exploring Database Connecting

    If you haven't yet, look through the Oracle JDBC tutorial: Trail: JDBC(TM) Database Access (The Java™ Tutorials). This will give you a general overview of database connectivity and how to access a database. Most notably you will need to get the driver for your specific database. Most database connectivity classes are located in the java.sql package (ships with jdk6 I believe), however to make direct quires to the database you also need to learn some basic SQL (selects, inserts, updates, joins, etc...). Things get a lot more complex should you wish to map java objects onto the database itself, either though enterprise beans, hibernate, etc...

  3. #3
    Forum VIP
    Join Date
    Jul 2010
    Posts
    1,676
    Thanks
    25
    Thanked 329 Times in 305 Posts

    Default Re: Looking at Exploring Database Connecting

    So since those Tutorials are in Netbeans, i figured I'd give that a try. But there is a problem. The step for creating a Java Database in Netbeans (GetStartedwithJavaDB - NetBeans Wiki) I cant do. The first set of instructions are:
    Go to Tools->Java DB Database and Start the Java DB server
    But, I dont have the option of Java DB Database under Tools...

    Can anyone tell me how to set up a NetBeans DB?

Similar Threads

  1. Connecting events
    By Olufemi in forum AWT / Java Swing
    Replies: 0
    Last Post: April 21st, 2010, 04:58 AM
  2. Connecting to a database
    By fwashington in forum JDBC & Databases
    Replies: 5
    Last Post: March 15th, 2010, 01:37 PM
  3. Help about connecting DB to java!
    By java_cs in forum JDBC & Databases
    Replies: 1
    Last Post: September 11th, 2009, 12:39 PM
  4. connecting two classes?
    By chronoz13 in forum Object Oriented Programming
    Replies: 9
    Last Post: September 1st, 2009, 03:15 PM
  5. Replies: 1
    Last Post: November 12th, 2008, 05:16 PM