boards.ie

Go Back   boards.ie > Tech > Software and Web Development > Development

Notices

Reply
 
Thread Tools Search this Thread Display Modes
Old 12-10-2009, 17:39   #1
dlofnep
Hosted Moderator
 
dlofnep's Avatar
 
Join Date: Jan 2004
Location: Éire
Posts: 11,895
HMod: RaN
Java - Standalone App & SQL

Could someone point me in the right direction for an SQL database that can be used as part of and integrated as part of the application, without any dependancy on an external database for JAVA? I need to use a database, or at least - it would be beneficial to use one as part of my 4th year project. I have previous experience with SQL, so it would be useful to find a self contained SQL database to use as part of an application.

Any help would be greatly appreciated. I've not working with Java & DB's as of yet.
__________________


Private Message for Access for RaN (Irish Republican Discussion)
dlofnep is offline   Reply With Quote
Advertisement

To remove these adverts, please create an account, or log in! You must have an account to post anyway :-)
Old 12-10-2009, 17:45   #2
kenbrady
Registered User
 
Join Date: Sep 2009
Posts: 329
Quote:
Originally Posted by dlofnep View Post
Could someone point me in the right direction for an SQL database that can be used as part of and integrated as part of the application, without any dependancy on an external database for JAVA? I need to use a database, or at least - it would be beneficial to use one as part of my 4th year project. I have previous experience with SQL, so it would be useful to find a self contained SQL database to use as part of an application.

Any help would be greatly appreciated. I've not working with Java & DB's as of yet.
You're in 4th year, that question sound like someone who has never studied computers. There is no logic or any understanding of database or computer applications work.
kenbrady is offline   Reply With Quote
Old 12-10-2009, 18:03   #3
dlofnep
Hosted Moderator
 
dlofnep's Avatar
 
Join Date: Jan 2004
Location: Éire
Posts: 11,895
HMod: RaN
Quote:
Originally Posted by kenbrady View Post
You're in 4th year, that question sound like someone who has never studied computers. There is no logic or any understanding of database or computer applications work.
Thank you Ken Brady for your wonderful contribution to this forum.

It just so happens that I've found what I'm looking for in Apache Derby, without any help from your good self.

It would appear that you are the one who has never studied "computers".

Quote:
Derby provides an embedded JDBC driver that lets you embed Derby in any Java-based solution.
Good day.
__________________


Private Message for Access for RaN (Irish Republican Discussion)
dlofnep is offline   Reply With Quote
Old 13-10-2009, 07:18   #4
kenbrady
Registered User
 
Join Date: Sep 2009
Posts: 329
Quote:
Originally Posted by dlofnep View Post
Thank you Ken Brady for your wonderful contribution to this forum.

It just so happens that I've found what I'm looking for in Apache Derby, without any help from your good self.

It would appear that you are the one who has never studied "computers".



Good day.
When you finish your project and hopefully learn something, reread your question and you will see my point.

Will you be using the latest JDK6 to make this project or an older version of java.
kenbrady is offline   Reply With Quote
Old 13-10-2009, 08:30   #5
Hobbes
Moderator
 
Hobbes's Avatar
 
Join Date: Feb 1998
Location: Dublin
Posts: 19,749
Actually his question made perfect sense. He meant that he didn't have to install some ODBC or third party app to have a database he can use in Java (eg. DB2 or MS Access would not be suitable).

Another one you can try is HSQLDB. It is all in one jar file. It has file and live mode. (used by Open Office).

http://hsqldb.org/
__________________
New Boards.ie Firefox3 plugin!. Faster and more functionality.
Hobbes is offline   Reply With Quote
Thanks from:
Old 13-10-2009, 10:51   #6
dlofnep
Hosted Moderator
 
dlofnep's Avatar
 
Join Date: Jan 2004
Location: Éire
Posts: 11,895
HMod: RaN
Thank you Hobbes.

Ken, take your condescending comments elsewhere. This forum is for people to ask for help, not for people to talk down to others for asking questions. My question was perfectly valid.
__________________


Private Message for Access for RaN (Irish Republican Discussion)
dlofnep is offline   Reply With Quote
Old 13-10-2009, 10:56   #7
warrenaldo
Registered User
 
warrenaldo's Avatar
 
Join Date: Jan 2007
Location: tallaght
Posts: 420
Made perfect sense to me too. Dont see your problem.

How about SQLite - i use it for this type of thing all the time.

It stores all the data in a sqlite file. Allows you to run sql on it also.

Very neat. It has its pitfalls but can be very usefull.

http://www.sqlite.org/
warrenaldo is offline   Reply With Quote
Thanks from:
Old 13-10-2009, 11:12   #8
kenbrady
Registered User
 
Join Date: Sep 2009
Posts: 329
Quote:
Originally Posted by dlofnep View Post
Thank you Hobbes.

Ken, take your condescending comments elsewhere. This forum is for people to ask for help, not for people to talk down to others for asking questions. My question was perfectly valid.
Maybe in your head, but your communication of your needs was poor. The replies will only be as good as the questions.

Before you went looking for what you wanted, did you read the Java documentation ?
kenbrady is offline   Reply With Quote
Old 13-10-2009, 13:45   #9
Hobbes
Moderator
 
Hobbes's Avatar
 
Join Date: Feb 1998
Location: Dublin
Posts: 19,749
Quote:
Originally Posted by kenbrady View Post
Before you went looking for what you wanted, did you read the Java documentation ?
I'm curious. What is that supposed to accomplish?

[edit] Ah I see Java6 has an out of the box Database. Which is based on Apache Derby. You know you could of just told him that instead of berating him.
__________________
New Boards.ie Firefox3 plugin!. Faster and more functionality.

Last edited by Hobbes; 13-10-2009 at 13:55.
Hobbes is offline   Reply With Quote
Thanks from:
Old 13-10-2009, 15:18   #10
dlofnep
Hosted Moderator
 
dlofnep's Avatar
 
Join Date: Jan 2004
Location: Éire
Posts: 11,895
HMod: RaN
Quote:
Originally Posted by kenbrady View Post
Maybe in your head, but your communication of your needs was poor. The replies will only be as good as the questions.
But yet everyone else understood me, except you? Your attitude smacks of elitism to be honest. It would have taken you less effort to just answer my question, than to try and berate me for asking a question. That's what these forums are for.
__________________


Private Message for Access for RaN (Irish Republican Discussion)
dlofnep is offline   Reply With Quote
Old 13-10-2009, 15:19   #11
dlofnep
Hosted Moderator
 
dlofnep's Avatar
 
Join Date: Jan 2004
Location: Éire
Posts: 11,895
HMod: RaN
Quote:
Originally Posted by Hobbes View Post
[edit] Ah I see Java6 has an out of the box Database. Which is based on Apache Derby. You know you could of just told him that instead of berating him.
Thank you Hobbes, I wasn't aware of it - as like I had said, I've yet to work with a database with Java as of yet. You've been very helpful.

Thanks to everyone else for answering.
__________________


Private Message for Access for RaN (Irish Republican Discussion)
dlofnep is offline   Reply With Quote
Old 13-10-2009, 15:28   #12
Webmonkey
Registered User
 
Webmonkey's Avatar
 
Join Date: Mar 2003
Location: Cork City Mainly
Posts: 6,250
Send a message via MSN to Webmonkey Send a message via Yahoo to Webmonkey Send a message via Skype™ to Webmonkey
For the record I thoguht it made perfect sense as well wanting no external component (ie database server etc) as a dependency. Waits for a thanks
__________________
...
Webmonkey is online now   Reply With Quote
Thanks from:
Reply
  boards.ie > Tech > Software and Web Development > Development Top

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 23:00.


© boards.ie Ltd. (Ireland) - Hosted by Digiweb Hosting. Message Boards and Forums Directory