Results 1 to 9 of 9
- 02-23-2012, 11:25 AM #1
Member
- Join Date
- Feb 2012
- Posts
- 43
- Rep Power
- 0
help me to install sql database to communicate with my swing gui.
Hi,
I want to make a simple java app using swing,
functions(phone book):
1.enter your name.
2.enter your phone number.
3.save it.
4.show all names.
i can develop the gui using swing but now i want a database in my computer where all of the above details such as a person's name with his/her phone number can get saved in the database and by clicking the "show all names" button all the names stored in the database must be displayed in a gui window.
what i can do:
Develop the gui by swing.
what i want to know:
1.whether to install sql server or database since i want to use my same computer for datbase and front end no internet stuff.
2.how to get the free sql and install it on my computer.
3.how to make the connection between my swing gui and database.
please help i am newbie.
- 02-23-2012, 11:36 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Re: help me to install sql database to communicate with my swing gui.
If it's a single app using the database, that is one user, then pick a db that can be embedded, like JavaDB/Derby or HSQL.
That way it's all in one.
Derby (JavaDB) comes with the JDK (though not the JRE, so you'll have to distribute the relevant jar files with your app), so might be the quickest to try and use?
- 02-23-2012, 11:51 AM #3
Member
- Join Date
- Feb 2012
- Posts
- 43
- Rep Power
- 0
Re: help me to install sql database to communicate with my swing gui.
Did i forgot to mention that i have no single idea about this database stuff, i read little bit about sql so that is the only thing in my mind and if i am developing this single app whose database is also installed in the same system then is SQL RDBMS is sufficient or Sql server is also required??
- 02-23-2012, 12:15 PM #4
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Re: help me to install sql database to communicate with my swing gui.
Derby is a database.
It is one that can be setup to work inside your application, which can be a lot easier.
So no, you do not need another database.
If you are new to this then you really need to find a tutorial on it.
The Oracle JDBC one is possibly a good idea.
- 02-23-2012, 03:00 PM #5
Member
- Join Date
- Feb 2012
- Posts
- 43
- Rep Power
- 0
Re: help me to install sql database to communicate with my swing gui.
i have installed microsoft sql server management 2005 express but don't know how to give a server name or register it and start it?? can you please help
- 02-23-2012, 03:10 PM #6
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Re: help me to install sql database to communicate with my swing gui.
Not really.
I don't use SQL Server very often.
It also strikes me as a rather excessive choice of db for this kind of app.
- 02-24-2012, 07:34 AM #7
Member
- Join Date
- Feb 2012
- Posts
- 43
- Rep Power
- 0
Re: help me to install sql database to communicate with my swing gui.
can you please send me the exact link of downloading derby database and help me to configure it.
- 02-24-2012, 09:08 AM #8
Re: help me to install sql database to communicate with my swing gui.
Derby aka JavaDB is bundled with the JDK. You don't have to download anything.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 02-24-2012, 09:46 AM #9
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Similar Threads
-
need some help for database-connection install package
By johny2011 in forum JDBCReplies: 0Last Post: 04-14-2011, 12:35 PM -
Uploading a image to a database via swing
By hacker9116 in forum JDBCReplies: 3Last Post: 03-29-2011, 11:35 AM -
Getting and Displaying Swing Components From DataBase
By vivekkumar in forum AWT / SwingReplies: 1Last Post: 07-27-2010, 03:32 PM -
how to insert sql file into database using swing
By ravi.virgoo@gmail.com in forum AWT / SwingReplies: 1Last Post: 11-22-2009, 03:01 AM -
How to install tzdata2007i (updated Time zone database) in JDK 1.5.0_12-b04
By Santhosh in forum Advanced JavaReplies: 0Last Post: 11-06-2007, 02:16 PM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks