wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes database directions for beginner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "database directions for beginner" Watch "database directions for beginner" New topic
Author

database directions for beginner

Nikos Stavros
Ranch Hand

Joined: Feb 24, 2006
Posts: 243

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


Jesus lives
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Nikos Stavros
Ranch Hand

Joined: Feb 24, 2006
Posts: 243

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

Joined: Feb 05, 2001
Posts: 17249
    
    6

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: database directions for beginner
 
Similar Threads
WA #1.....word association
Help! Java Architect certification
Check Instance of database running/not
knowing the files opened
Help Needed CORBA conversion from WAS to JBoss