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: Options for data retrival (conceptual non-specefic)

  1. #1
    Member
    Join Date
    Sep 2013
    Posts
    102
    Thanks
    38
    Thanked 0 Times in 0 Posts

    Default Options for data retrival (conceptual non-specefic)

    I was wondering, for both a web based application and a normal Java program, should I just open up an I/O every time I need certain data, or am I better off just loading all the information into my program at start up?


  2. #2
    Member andbin's Avatar
    Join Date
    Dec 2013
    Location
    Italy
    Posts
    443
    Thanks
    4
    Thanked 122 Times in 114 Posts

    Default Re: Options for data retrival (conceptual non-specefic)

    Quote Originally Posted by KAJLogic View Post
    should I just open up an I/O every time I need certain data, or am I better off just loading all the information into my program at start up?
    It depends on what is that data and what is its usage ....
    There is no clear answer without a well known context.
    Andrea, www.andbin.netSCJP 5 (91%) – SCWCD 5 (94%)

    Useful links for Java beginnersMy new project Java Examples on Google Code

  3. The Following User Says Thank You to andbin For This Useful Post:

    GregBrannon (March 14th, 2014)

  4. #3
    Member
    Join Date
    Sep 2013
    Posts
    102
    Thanks
    38
    Thanked 0 Times in 0 Posts

    Default Re: Options for data retrival (conceptual non-specefic)

    Image data for active updates every (tenth of a second). But, the updates are happening on multiple images-also know that the updates are not happening constantly but quite frequently.

Similar Threads

  1. School options
    By ///M Dood in forum The Cafe
    Replies: 18
    Last Post: August 7th, 2013, 06:56 AM
  2. Conceptual Questions Related To "super" keyword and "constructor".
    By wikki2013 in forum Java Theory & Questions
    Replies: 1
    Last Post: May 26th, 2013, 02:14 PM
  3. Best way to use delimiter/other options
    By iceraven721 in forum What's Wrong With My Code?
    Replies: 8
    Last Post: April 19th, 2013, 10:53 AM
  4. Options window for game
    By Herah in forum What's Wrong With My Code?
    Replies: 3
    Last Post: December 1st, 2011, 07:34 AM