EvilZone

Programming and Scripting => Projects and Discussion => : Dark Nebulae December 01, 2012, 03:09:14 PM

: Library program in JAVA
: Dark Nebulae December 01, 2012, 03:09:14 PM
We was given a project to make a program for library management(for keeping the record of who issues the book and whatever..). All we have to do is to make a database of all the books,children and what so ever.Well I don't know how to connect my JAVA GUI form to MySQL?I don't know JAVA much and need your help :-[ :-[ .It would be a very simple program which would tell all the details of the book if we search by typing the book's name or library code or if we type the name of any student, then it will show all the details of that student about which book he had issued. Plz. help  :'( :'(
: Re: Library program in JAVA
: lordarnoud December 01, 2012, 03:40:28 PM
Try looking up "JDBC" for java :) At least that's what I used for my code.
: Re: Library program in JAVA
: Dark Nebulae December 01, 2012, 04:07:11 PM
Try looking up "JDBC" for java :) At least that's what I used for my code.
Thanks man 8) 8)
: Re: Library program in JAVA
: Kulverstukas December 01, 2012, 06:27:50 PM
If this is a school assignment and it doesn't state that you have to use SQL database and it doesn't have to be persistent, then just use ArrayLists. Because database, by definition is:
A database is a set of data that has a regular structure and that is organized in such a way that a computer can easily find the desired information.

If this is some program that the school will use, I advise you to step away from it :P
: Re: Library program in JAVA
: Dark Nebulae December 02, 2012, 10:34:27 AM
If this is some program that the school will use, I advise you to step away from it :P
well I am not very interested in this project but I am doing this because it will give me a chance and a goal to learn more. ::)
And it has to be persistent.