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

java application with form and 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
K Riaz
Ranch Hand

Joined: Jan 08, 2005
Posts: 375
Learn JDBC, see the Sun website for tutorials/Google or buy a book. This will teach you how to read and write to a database.

"I am using eclipse as developing tool"

I'm not sure if I would recommend using an IDE for a beginner as you'll end up spending more time learning the environment than programming. But why not...

And by "executable" I hope you mean a .jar file and not .exe.

P.S. For someone who is a SCJP, you should really be showing more initiative.
Jared Cope
Ranch Hand

Joined: Aug 18, 2004
Posts: 243

It's hard to know what sort of answer to pitch to you. What part of the exercise is giving you the most trouble?

Do you need help designing a form with swing controls? Are you having trouble getting the application to talk to the mysql database? Are you unsure of the database schema?

Let us know more specifically what you need and we can try to help out.

Cheers, Jared.

SCJP 1.4 91%, SCJP 1.5 88%, SCJD B&S
I agree. Here's the link:
subject: java application with form and mysql database
It's not a secret anymore!