Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2005
    Germany, Karlsruhe

    Cool text-file vs. recordstore

    Hi, I’m a J2ME-rookie and started with a simple db-like high-level-application that just displays information about 56 different Entities. The Entities are static, so they will never be changed. The startApp() builds 56 Objects with attribute-data from a text-file in the jar. Now the questions:

    Would it be more efficient to build an application like that with a record-stores?
    In witch cases I should rather choose recordstores than text-files?

  2. #2
    Registered User
    Join Date
    Dec 2005

    Re: text-file vs. recordstore

    Hi audiosport,

    I believe the startup time for your strategy (below) is longer but app execution is faster. On the other hand, if you were using record-stores it can be slower mainly because it involves some I/O (it can vary depending on implementation strategies, e.g. cache).

    Considering that your entities are static, read-only, predefined ones, using RS is an overkill to me keep the files if you're satisfied.


    Juarez Jr

Similar Threads

  1. How to create a Text file in Nokia 6630?
    By rajneesh103 in forum Mobile Java General
    Replies: 3
    Last Post: 2006-10-28, 19:40
  2. Help me read a text file
    By margaretpoor in forum Symbian
    Replies: 1
    Last Post: 2004-05-24, 04:08
  3. Text file viewer
    By Jeepy in forum Symbian
    Replies: 5
    Last Post: 2003-06-24, 15:14
  4. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46
  5. reading text file from a jar file -> file not found!
    By iecomdev in forum Mobile Java General
    Replies: 1
    Last Post: 2002-09-30, 12:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts