File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes java application with mysql database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "java application with mysql database" Watch "java application with mysql database" New topic

java application with mysql database

megha kanth
Ranch Hand

Joined: Mar 10, 2004
Posts: 44

I have to make a small application in java where there is a form and the data goes inside a mysql database. The application will run as independent executable file.its very small application.

Can any one explain me as how to do it. I am using eclipse as developing tool. Iam new to java and want to try making this simple application for leanring. Pls explain the process or any website which explains it step by step.

I dont know which is the right forum to put this question on. So pls excuse me if this is not the right one.

Its urgent so pls help me

thanks in advance

Megha Kanth<br />SCJP 1.4
ramprasad madathil
Ranch Hand

Joined: Jan 24, 2005
Posts: 489

JDBC :: atabase access
JAva :::Coding ur app.

Seriously pls consider restructuring your question, what is it that u specifically require (eg, I have this form which collects data, however on click it doesnt submit the form and so on...)
Or come up with a basic idea, I have this requirement to collect data input, I have built this form, now how should I proceed etc...

We will all be only too glad to help you provided u take an effort to begin :-) and since ur stated objective is 'study', you would only be helping yourself more that way :-)

Happy Javaing :-)

megha kanth
Ranch Hand

Joined: Mar 10, 2004
Posts: 44
hi ramprasad,

thx for giving me the direction. Actually I am starting with completly new. As In anyapplication this is the basic thing where u take input through form fields and put it in database and later retrieve it for reporting purpose etc. so i am trying to learn this.

Basically have to make a application for deposit of bank cheques. It will have form fields similar to a bank deposit slips and then all the data entered in the form will get stored in the database.

I have to start from the begining as designing the form and then connectivity. Dont know where to begin and how to go about this hence posted in forum.

Thanks again,
Steven Bell
Ranch Hand

Joined: Dec 29, 2004
Posts: 1071
To simplify your life I would recommend looking at JGoodies Forms to help with the layout of the GUI (if your useing Swing), and Hibernate to make the JDBC much easier. (actually with Hibernate you don't have to write JDBC code)
megha kanth
Ranch Hand

Joined: Mar 10, 2004
Posts: 44
Hi Steven,

Thanks for the sugesstion infact i was doing research on hibernate and was using eclipse as development tool. But not getting the idea of integrating the entire thing.

Have installed hibernate but dont know how to test it and still in process of learning it. IF i am using eclipse then I guess i will have to use SWT for interface design. Pls correct if I am wrong.

Thanks again
I agree. Here's the link:
subject: java application with mysql database
It's not a secret anymore!