944,214 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 4353
  • Java RSS
Oct 1st, 2004
0

Suggest Database for Java Project

Expand Post »
Hello friends,

I am working on my final yr
project using Java Swing. Now
for the database part can
anybody tell me which I should
use among Servlets, Oracle or JSP
or anything others. I mean which
is currently used in industry at
large. Hope to get advice.

Regards
Supratim
Similar Threads
Reputation Points: 11
Solved Threads: 0
Newbie Poster
supra is offline Offline
15 posts
since Aug 2004
Oct 2nd, 2004
0

Re: Suggest Database for Java Project

Oracle is used in the industry very much ... I used cloudscape in one of my database projects. ... however its your choice ... on which database manager you are prominent at and you have worked already.
Team Colleague
Reputation Points: 45
Solved Threads: 56
Unauthenticated Liar
nanosani is offline Offline
1,767 posts
since Jul 2004
Aug 22nd, 2010
0

anyone help me..

i want to desktop application by using java, in my database project.please suggest me which project is suitable for me. i want to make an extra than my friends.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rajan09 is offline Offline
1 posts
since Aug 2010
Aug 31st, 2010
0
Re: Suggest Database for Java Project
Hello,

Java is compatible with any kind of database if you have the right JDBC driver. Here are several alternatives for you that would work just fine:

- MySQL
- PostgreSQL
- Access
- Oracle (you would do more than your friends, but don't know how complicated it is to install it and how much resources this is eating).

You can download and install MySQL server (this would be pretty ok
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Galois77 is offline Offline
7 posts
since Apr 2010
Aug 31st, 2010
0
Re: Suggest Database for Java Project
If you have JDK 6 installed (and if you haven't, do it now!) then you already have a pretty neat, useful, free, 100% supported database installed and ready to go.
JavaDB (based on Apache Darby) is part of a standard JDK6 install.
It's very unlikely that you will need anything more than this, but if you do get into distributed servers and thousands of users mySQL is a good choice, and is also free. Migration from JavaDB is trivial.
ps: JDK6 also introduced a vastly simpler SQL interface based on annotations. 99% of all the stuff you will find out on the web still refers to the previous way of doing things, so make sure you have got the latest annotation-based versions.
http://onjava.com/pub/a/onjava/2006/...-6.html?page=1
Last edited by JamesCherrill; Aug 31st, 2010 at 9:30 am.
Featured Poster
Reputation Points: 1939
Solved Threads: 955
Posting Expert
JamesCherrill is online now Online
5,816 posts
since Apr 2008
Aug 31st, 2010
0
Re: Suggest Database for Java Project
CORRECTION:
Just discovered that the annotation-based interface (which was in the JDK6 betas) didn't make it into the final release version. May be in JDK7, but that's not out yet. Sorry for the bad info.
However, JavaDB (Apache Derby) is in JDK6, and recommended.
Last edited by JamesCherrill; Aug 31st, 2010 at 10:17 am.
Featured Poster
Reputation Points: 1939
Solved Threads: 955
Posting Expert
JamesCherrill is online now Online
5,816 posts
since Apr 2008
Aug 31st, 2010
0
Re: Suggest Database for Java Project
H2 is another nice open source embedded database.
Moderator
Featured Poster
Reputation Points: 3239
Solved Threads: 839
Posting Genius
Ezzaral is offline Offline
6,761 posts
since May 2007
Aug 31st, 2010
0
Re: Suggest Database for Java Project
I used mySql before along with JSP and Java.
also, I tried Oracle with Java, I would prefer MySql thou.
anyways, anyone would work fine.
Reputation Points: 10
Solved Threads: 2
Newbie Poster
striker3344 is offline Offline
19 posts
since Dec 2007
Aug 31st, 2010
0
Re: Suggest Database for Java Project
For Java Swing projects I suggest to use SQLite. Mysql for web. Everything you need is the MySQL Connector/J to start.
Reputation Points: 52
Solved Threads: 23
Posting Whiz in Training
martin5211 is offline Offline
271 posts
since Aug 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Different API instead of JMF for java that supports more media formats.
Next Thread in Java Forum Timeline: returning two values from one method ??





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC