Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

database directions for beginner

 
Nikos Stavros
Ranch Hand
Posts: 243
Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello there,

I want a simple table for my java program. I want to have eight rows and an aritary length of columns. The type of data will be of int. Can I get some directions on what java package to go for.
many thanks
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, this isn't quite the right forum for you question.

But if it is just one table to store simple small amounts of data. You might just find it easier to simply use a text file to store the data and use the io package to read and write to the file.

If there is more data than that then you can use a database and use JDBC to query and save the data.

Mark
 
Nikos Stavros
Ranch Hand
Posts: 243
Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your advice

what database would you recommend. Id there any data bases written in java that I could buiold into my program?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I believe JBoss comes with Hypersonic Database, or you can use MySql. But I think it is basically overkill for very small amount of data. Both are free.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic