guys, i have a project that have to implement a reservation system by using java. Is it database the only way to store the data? Is there other method beside by using database? If database is the only way to do that, can anyone tell me how to do so in the code? i have seen so many thread inside here..but thre are a lot of them and each of them are different...im confusing which one is the correct one..Please give me your opinion thanks..
junichiro90
0
Newbie Poster
Recommended Answers
Jump to PostNo, it's not the only way, but it's the way that people use 99% of the time. You will find some excellent tutorials on the web for using Java with a database. I recommend this one:
Jump to Postps JDBC works with many databases, but Java's JDK current version (version 6, AKA 1.6) includes a tiny database that's ideal for learning, developing, and even running small apps. I recommend you go with that one unless yuo already have some other database installed,
http://www.oracle.com/technetwork/java/javadb/overview/index.html
Jump to Postcan i do it in other way beside database?
Yes but.
As an alternative you could design a way to use files and folders to store your data.
The keyword here is design.
Some day though you will have to learn databases.
All 11 Replies
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
junichiro90
0
Newbie Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
junichiro90
0
Newbie Poster
NormR1
563
Posting Sage
Team Colleague
junichiro90
0
Newbie Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
nickguletskii
0
Light Poster
NormR1
563
Posting Sage
Team Colleague
junichiro90
0
Newbie Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.