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 2 of 2

Thread: Using a Database of TextFiles for saving data

  1. #1
    Junior Member
    Join Date
    Jan 2013
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Using a Database of TextFiles for saving data

    Hello all,

    First I'm a beginner at Java programming. I have been programming for about 4 months now and have learned more or less the basics of Java. I have built a Java Swing program that is a quiz game; where the user can build multiple choice quizzes and single answer quizzes and also take them. All questions and answers get saved to directories and files. My question is whether or not this is the best approach? would it be better to use a database instead of text files to save data? I have a few more questions:

    Any recommendations for learning to work with databases?

    Any recommendations for learning game development for beginners?

    Thanks for any feedback.


  2. #2
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: Using a Database of TextFiles for saving data

    The best way to store data depends on what is being stored and how it needs to be accessed, (to say it short).

    Quote Originally Posted by Discoveringmypath View Post
    Any recommendations for learning to work with databases?
    Build a data set. Store it as many different ways as you can think of. Access it as many ways as you can think of. Benchmark and compare results. (self taught style) ...plus it is fun to play with the numbers, learning is a side effect of the fun...

    Quote Originally Posted by Discoveringmypath View Post
    Any recommendations for learning game development for beginners?
    Make games. Games like brick breaker, tic-tac-toe, pong, word search, sudoku, and many others not listed here are common first games. A few minutes on your favorite search engine should turn up many open source games you can download and modify too.

Similar Threads

  1. [SOLVED] I need help with saving state data.
    By JonLane in forum Collections and Generics
    Replies: 6
    Last Post: February 27th, 2012, 03:48 AM
  2. Saving the dialog box data
    By nrao in forum JavaServer Pages: JSP & JSTL
    Replies: 0
    Last Post: February 24th, 2011, 02:53 PM
  3. saving data in persian language in mysql db
    By java_cs in forum JDBC & Databases
    Replies: 2
    Last Post: January 19th, 2011, 12:26 PM
  4. saving list of data from JSP into java object
    By nrao in forum JavaServer Pages: JSP & JSTL
    Replies: 4
    Last Post: January 12th, 2011, 11:24 AM
  5. need help with saving data
    By bardd in forum Java Theory & Questions
    Replies: 5
    Last Post: September 19th, 2010, 02:33 PM

Tags for this Thread