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

Thread: best no sql db for java

  1. #1

    Default best no sql db for java

    hi
    what is best database for java Other than SQL and access and excel Which does not depend on any platform To save static data without adding new data or editing it? i use before txt and xml I want to know if there is a better way?
    Last edited by cnmeysam; April 16th, 2021 at 07:47 AM.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: best no sql db for java

    save static data without adding new data or editing it?
    What are the requirements for accessing the data written to the file/DB?
    Is the file written all at one time? Can it all be contained in memory?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3

    Default Re: best no sql db for java

    hat are the requirements for accessing the data written to the file/DB? yes i need just read data and show in a label daily
    Is the file written all at one time? yes it is written one time for use
    Can it all be contained in memory? In fact, daily occasions are recorded in the database and the occasion of each day should be displayed on a specific day, for example, 2020/12/25 shows the Christmas day in label.
    Occasions for the Gregorian, Hijri and Jalali dates are simultaneous like this
    1400/01/01 must show eyde noruz
    1442/01/01 must show first day of hijri
    2021/01/01 must show first day of Gregorian
    but 2021/01/01 = 1399/10/12 Jalali and = 1442/05/17 Hijri, Each of which has its own occasion
    Meanwhile, the difference between these dates changes every year
    All three occasions must be displayed on the same label at the same time, and there may be several occasions in a day For each of the calendars Or there is no opportunity for one, two or all three of them
    Last edited by cnmeysam; April 14th, 2021 at 06:29 PM.

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: best no sql db for java

    Is the file written to more than one time? In other words, the file is created and filled with data all in one go and never written to again.

    How large is the file? Can all of it be read and saved in memory say in some kind of collection?
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5

    Default Re: best no sql db for java

    just one time written maybe some years written again for add or edit new Suitable for the day
    in the excel 24 k size 2 column first column is date second column is Suitable for the day 300 row yes can be kind of collection

  6. #6
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: best no sql db for java

    For a file that small ( 24 k size), read it in, parse it into the desired types and store it in a collection where it can be easily accessed as needed.
    If you don't understand my answer, don't ignore it, ask a question.

  7. The Following User Says Thank You to Norm For This Useful Post:

    cnmeysam (April 16th, 2021)