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: How to call database???

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to call database???

    I need to write an application to call a database file, which I can the user can then use to sort and search data. The database is located online and will be updated by a third party regularly. It is a .csv file, which should be viewable in Excel. I have some very basic programming experience from college but am largely unfamiliar with the current APIs and other tools that are available. I need to know in basic Java how to retrieve the data through an application. I am learning SQL and feel that I should be able to use that without any problem. However, I am kind of lost in forming the framework for my application. I have been using Netbeans and attempting to figure out how to accomplish my task using Derby, but without any success. Any help would be greatly appreciated! Thanks in advance.

    email: matt171980@hotmail.com


  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: How to call database???

    If your database is a CSV file and is supposed to serve as a common repository, you should consider using an SQL server - of course this depends upon the data - the power of SQL databases reside in their organization of data in a relational format. Should you choose this route, which database is up to you (mysql, postgreSQL, Oracle, Derby)...but suffice it to say these database can be accessed in java via JDBC:
    Trail: JDBC(TM) Database Access (The Java™ Tutorials)
    If you need to view the data via excel, you can use many sorts of methods - including jasper or Apache POI - to download the current data, however updating the data in this manner is more complex.

  3. #3
    Junior Member
    Join Date
    Aug 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How to call database???

    thanks - that's a good start!

Similar Threads

  1. Can't Call J2ee
    By DJB79 in forum What's Wrong With My Code?
    Replies: 0
    Last Post: June 28th, 2011, 02:17 AM
  2. Call by Reference & Call by Value
    By Lokesh in forum Java Theory & Questions
    Replies: 1
    Last Post: February 21st, 2011, 01:19 PM
  3. How to call int value from another class
    By IDK12 in forum Java Theory & Questions
    Replies: 7
    Last Post: January 14th, 2011, 09:18 PM
  4. Call with a different signature
    By brajesh in forum What's Wrong With My Code?
    Replies: 2
    Last Post: December 15th, 2010, 02:05 PM
  5. JSP freezes after AJAX call !!
    By java_freek in forum JavaServer Pages: JSP & JSTL
    Replies: 1
    Last Post: April 16th, 2010, 10:31 AM